summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-01-26 15:37:47 +0000
committerLennart Poettering <lennart@poettering.net>2004-01-26 15:37:47 +0000
commit4e8b067370129448c75ce3e7afad468ea169e850 (patch)
treecf48179358696c0d14bfbf3c470c7d45fbe4123c
parentbc1fef7e4144a437293345c1dbd7f174b32dcbbd (diff)
patches from Norbert Preining
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@59 022f378f-78c4-0310-b860-d162c87e6274
-rwxr-xr-xconf/waproamd.init.in13
-rw-r--r--doc/README.SuSE16
-rw-r--r--doc/README.html.in2
3 files changed, 29 insertions, 2 deletions
diff --git a/conf/waproamd.init.in b/conf/waproamd.init.in
index 638ba57..3c35c57 100755
--- a/conf/waproamd.init.in
+++ b/conf/waproamd.init.in
@@ -16,6 +16,17 @@
# You should have received a copy of the GNU General Public License
# along with waproamd; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+### BEGIN INIT INFO
+# Provides: waproamd
+# Required-Start: $network
+# X-UnitedLinux-Should-Start:
+# Required-Stop: $network
+# X-UnitedLinux-Should-Stop: $
+# Default-Start: 3 5
+# Default-Stop: 0 1 2 6
+# Short-Description: waproamd daemon
+# Description: Start waproamd
+### END INIT INFO
CFG=@sysconfdir@/waproamd/waproamd.conf
@@ -32,7 +43,7 @@ fi
VERB="$1"
shift
-[ "x$@" != "x" ] && INTERFACES="$@"
+[ "x$*" != "x" ] && INTERFACES="$*"
[ "x$INTERFACES" = "xauto" ] && INTERFACES="`cat /proc/net/dev | awk '{ print $1 }' | egrep '^wlan' | cut -d: -f1`"
diff --git a/doc/README.SuSE b/doc/README.SuSE
new file mode 100644
index 0000000..2bf8655
--- /dev/null
+++ b/doc/README.SuSE
@@ -0,0 +1,16 @@
+To use waproamd with SuSE Linux you have to remove the parameters specifiying
+your ESSID and WEP key from your interface configuration file. These will be
+set by waproamd automatically.
+
+For example:
+
+if /etc/waproamd/waproamd.conf contains
+
+ INTERFACES='wlan0'
+
+your /etc/sysconfig/network/ifcfg-wlan0 should contain
+
+ WIRELESS_ESSID=''
+ WIRELESS_KEY=''
+
+$Id$
diff --git a/doc/README.html.in b/doc/README.html.in
index 33d5aa4..0ab0571 100644
--- a/doc/README.html.in
+++ b/doc/README.html.in
@@ -182,7 +182,7 @@ for it.</p>
<h2><a name="acks">Acknowledgements</a></h2>
-<p>Thomas Hood for patches</p>
+<p>Thomas Hood, Norbert Preining for patches</p>
<p>Oliver Kurth for packaging <tt>waproamd</tt> for Debian</p>