]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Remove errormessage at hostapd channel set.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Sep 2010 15:39:32 +0000 (17:39 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Sep 2010 15:39:32 +0000 (17:39 +0200)
src/initscripts/init.d/hostapd

index 9a400823d989da9530e73fe471d2fd758c0d44ff..31083399b18f83ce6191fbe597f3b9e45717dd1d 100644 (file)
@@ -74,7 +74,7 @@ case "${1}" in
                        fi
                fi
 
-               /usr/sbin/iwconfig $INTERFACE channel $CHANNEL
+               /usr/sbin/iwconfig $INTERFACE channel $CHANNEL 2>/dev/null
                /usr/sbin/iwconfig $INTERFACE txpower $TXPOWER
 
                /usr/bin/hostapd -P /var/run/hostapd /etc/hostapd.conf >/dev/null 2>&1 &