summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconf/ifplugd.init.in13
-rw-r--r--doc/README.SuSE15
2 files changed, 19 insertions, 9 deletions
diff --git a/conf/ifplugd.init.in b/conf/ifplugd.init.in
index 3064a84..0f2f6b8 100755
--- a/conf/ifplugd.init.in
+++ b/conf/ifplugd.init.in
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: ifplugd.init 1.6 Sat, 01 Feb 2003 03:00:07 +0100 lennart $
+# $Id$
# This file is part of ifplugd.
#
@@ -34,13 +34,8 @@
# X-UnitedLinux-Should-Stop: $
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
-# Short-Description: ifplugd daemon providing
-# Description: Start ifplugd to allow XY and provide YZ
-# continued on second line by '#<TAB>'
-# should contain enough info for the runlevel editor
-# to give admin some idea what this service does and
-# what it's needed for ...
-# (The Short-Description should already be a good hint.)
+# Short-Description: ifplugd daemon
+# Description: Start ifplugd
### END INIT INFO
CFG=@sysconfdir@/ifplugd/ifplugd.conf
@@ -58,7 +53,7 @@ fi
VERB="$1"
shift
-[ "x$@" != "x" ] && INTERFACES="$@"
+[ "x$*" != "x" ] && INTERFACES="$*"
[ "x$INTERFACES" = "xauto" ] && INTERFACES="`cat /proc/net/dev | awk '{ print $1 }' | egrep '^(eth|wlan)' | cut -d: -f1`"
diff --git a/doc/README.SuSE b/doc/README.SuSE
new file mode 100644
index 0000000..6b3d205
--- /dev/null
+++ b/doc/README.SuSE
@@ -0,0 +1,15 @@
+To use ifplugd with SuSE Linux you have to change the start mode of all
+interfaces mentioned in ifplugd.conf to manual instead of onboot.
+Hotplug devices should specify hotplug as usual.
+
+For example:
+
+if /etc/ifplugd/ifplugd.conf contains
+
+ INTERFACES='eth0'
+
+your /etc/sysconfig/network/ifcfg-eth0 must contain
+
+ STARTMODE='manual'
+
+$Id$