diff options
Diffstat (limited to 'debian/ifplugd.init')
-rw-r--r-- | debian/ifplugd.init | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/ifplugd.init b/debian/ifplugd.init index ba9c955..cc36ae0 100644 --- a/debian/ifplugd.init +++ b/debian/ifplugd.init @@ -28,9 +28,10 @@ # the cable is removed / inserted ### END INIT INFO -CFG=/etc/default/ifplugd +DAEMON_NAME=ifplugd +CFG=/etc/default/$DAEMON_NAME DESC="Network Interface Plugging Daemon" -IFPLUGD=/usr/sbin/ifplugd +IFPLUGD=/usr/sbin/$DAEMON_NAME test -x $IFPLUGD || exit 0 if [ `id -u` != "0" ] && [ "$1" = "start" -o "$1" = "stop" ] ; then |