From 4cece956f3ca5482bbe351d7acb6bd78f0667572 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 26 Jan 2004 15:34:24 +0000 Subject: Stuff from Norbert Preining git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@86 2bf48fe7-cfc1-0310-909f-d9042e1e0fef --- conf/ifplugd.init.in | 13 ++++--------- doc/README.SuSE | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 doc/README.SuSE 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 '#' -# 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$ -- cgit