[SCM] Mumudvb packaging branch, master, updated. 1.5.2-62-g932012d
Stephane Glondu
steph at glondu.net
Sun Dec 7 19:37:45 UTC 2008
The following commit has been merged in the master branch:
commit 9f260a6242ab2086207173bc4b6b3022f513b3ed
Author: Stephane Glondu <steph at glondu.net>
Date: Sun Dec 7 20:04:55 2008 +0100
Propagate fixes in initscript
diff --git a/debian/mumudvb.init b/debian/mumudvb.init
index 155e661..3b09559 100644
--- a/debian/mumudvb.init
+++ b/debian/mumudvb.init
@@ -34,22 +34,21 @@ do_start() {
chown $DAEMONUSER:$DAEMONUSER $PIDDIR
eval $LAUNCH_BEFORE_MUMU
for ADAPTER in $ADAPTERS; do
- #Todo : add mumudvb opts
#Todo : fails if all card fails
- log_daemon_msg "\t Card $ADAPTER"
+ log_daemon_msg " Card $ADAPTER"
eval CONFIG_FILE=\$MUMUDVB_CONF_$ADAPTER
if [ ! -f $CONFIG_FILE ]; then
- log_warning_msg "\t\tConfig file $CONFIG_FILE not found."
+ log_warning_msg " Config file $CONFIG_FILE not found."
else
- start-stop-daemon --start --oknodo --pidfile "$PIDDIR/mumudvb_carte$PIDFILE.pid" \
- --exec $DAEMON -- $DAEMON_OPTS -c $CONFIG_FILE
+ start-stop-daemon --start --oknodo --pidfile "$PIDDIR/mumudvb_carte$ADAPTER.pid"\
+ --chuid $DAEMONUSER --exec $DAEMON -- $DAEMON_OPTS -c $CONFIG_FILE
fi
done
}
do_stop() {
for PIDFILE in `ls $PIDDIR/mumudvb_carte*.pid 2> /dev/null`; do
- start-stop-daemon --stop --oknodo --quiet --pidfile "$PIDDIR/mumudvb_carte$PIDFILE.pid" \
+ start-stop-daemon --stop --oknodo --pidfile "$PIDFILE" \
--exec $DAEMON
done
}
--
Mumudvb packaging
More information about the pkg-vdr-dvb-changes
mailing list