From e79bd343155f5f68d2936c12541da691838aba20 Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Date: Sun, 1 Feb 2004 01:07:08 +0000
Subject: several fixes
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@69 022f378f-78c4-0310-b860-d162c87e6274
---
conf/Makefile.am | 2 +-
conf/default.in | 8 +++++---
doc/README.html.in | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/conf/Makefile.am b/conf/Makefile.am
index 428a7c3..613adfc 100644
--- a/conf/Makefile.am
+++ b/conf/Makefile.am
@@ -16,7 +16,7 @@
# along with waproamd; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-sysvinitdir = @SYSV_INITDIR@
+sysvinitdir = @SYSINITDIR@
EXTRA_DIST = waproamd.init.in waproamd.conf default.in
noinst_DATA = waproamd.init waproamd.conf default
diff --git a/conf/default.in b/conf/default.in
index 7067e28..39d32d7 100755
--- a/conf/default.in
+++ b/conf/default.in
@@ -52,9 +52,11 @@ case "$1.$METHOD" in
;;
start.wep)
- KEY="$(cat $KEYDIR/$FILE.wep )"
- iwconfig $IFACE key [1] restricted $KEY
- iwconfig $IFACE key on
+ KEY="$(cat $KEYDIR/$FILE.wep)"
+ iwconfig $IFACE key "$KEY"
+ iwconfig $IFACE key [1] 2> /dev/null
+ iwconfig $IFACE key restricted 2> /dev/null
+ iwconfig $IFACE key on 2> /dev/null
;;
*.open|stop.wep)
diff --git a/doc/README.html.in b/doc/README.html.in
index 53472d1..7cbc20a 100644
--- a/doc/README.html.in
+++ b/doc/README.html.in
@@ -185,7 +185,7 @@ for it.
-Thomas Hood, Norbert Preining for patches
+Thomas Hood, Norbert Preining, Herbert Graeber, Fabrice Bellet for patches
Oliver Kurth for packaging waproamd for Debian
--
cgit