summaryrefslogtreecommitdiffstats
path: root/conf/ifplugd.init.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-08-11 16:19:52 +0000
committerLennart Poettering <lennart@poettering.net>2003-08-11 16:19:52 +0000
commitc471ab6794ad48a571f8658fa1fab6d4ab8cc358 (patch)
treee4cf58dc4b2689460d0c83e7b9d96d5c8a2cf7d1 /conf/ifplugd.init.in
parent9a5162c33017bab6677c528189cff5a501f3822a (diff)
distcheck works now
build fixes git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@31 2bf48fe7-cfc1-0310-909f-d9042e1e0fef
Diffstat (limited to 'conf/ifplugd.init.in')
-rwxr-xr-xconf/ifplugd.init.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/conf/ifplugd.init.in b/conf/ifplugd.init.in
index 89ebdc6..f28274c 100755
--- a/conf/ifplugd.init.in
+++ b/conf/ifplugd.init.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# $Id: ifplugd.init 1.6 Sat, 01 Feb 2003 03:00:07 +0100 lennart $
# This file is part of ifplugd.
@@ -59,15 +59,17 @@ fi
case "$1" in
start)
- echo -n "Starting ethernet plugging daemon:"
+ echo -n "Starting Network Interface Plugging Daemon:"
for IF in $INTERFACES ; do
- $IFPLUGD -i $IF $ARGS
+ A="`eval echo \$\{ARGS_${IF}\}`"
+ [ -z "$A" ] && A="$ARGS"
+ $IFPLUGD -i $IF $A
echo -n " $IF"
done
echo "."
;;
stop)
- echo -n "Stopping ethernet plugging daemon:"
+ echo -n "Stopping Network Interface Plugging Daemon:"
for IF in $INTERFACES ; do
$IFPLUGD -k -i $IF
echo -n " $IF"
@@ -80,7 +82,7 @@ case "$1" in
done
;;
suspend)
- echo -n "Suspending ethernet plugging daemon:"
+ echo -n "Suspending Network Interface Plugging Daemon:"
for IF in $INTERFACES ; do
$IFPLUGD -S -i $IF
echo -n " $IF"
@@ -88,7 +90,7 @@ case "$1" in
echo "."
;;
resume)
- echo -n "Resuming ethernet plugging daemon:"
+ echo -n "Resuming Network Interface Plugging Daemon:"
for IF in $INTERFACES ; do
$IFPLUGD -R -i $IF
echo -n " $IF"