Package: netplug
Version: 1.2.9.1-2
Severity: normal
please add the flag --oknodo for the stop actions of the script - otherwise
restart fails if the daemon is not running
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.34-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages netplug depends on:
ii iproute 20100519-3 networking and traffic control too
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
netplug recommends no packages.
netplug suggests no packages.
-- Configuration Files:
/etc/init.d/netplug changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/sbin/netplugd
NAME=netplugd
DESC="network plug daemon"
test -x "$DAEMON" || exit 0
set -e
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
--exec "$DAEMON" -- -p /var/run/"$NAME".pid #>/dev/null
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/"$NAME".pid \
--oknodo --name "$NAME"
echo "$NAME."
;;
restart|force-reload)
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/"$NAME".pid \
--oknodo --name "$NAME"
sleep 1
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
--exec "$DAEMON" -- -p /var/run/"$NAME".pid >/dev/null
echo "$NAME."
;;
*)
N=/etc/init.d/"$NAME"
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
/etc/netplug/netplugd.conf changed:
eth0
wlan0
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]