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 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'conf') 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) -- cgit