From: Arne Fitzenreiter Date: Fri, 29 May 2009 21:17:57 +0000 (+0200) Subject: Merge branch 'master' of ssh://arne_f@ipfire.org/pub/git/ipfire-2.x X-Git-Tag: v2.5-rc1~16 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=964d21950ab52903611c4bcac4936e822e3318b8;hp=66cad896054ec11102631fdca4446c3a8e7857d2 Merge branch 'master' of ssh://arne_f@ipfire.org/pub/git/ipfire-2.x --- diff --git a/src/initscripts/init.d/hostapd b/src/initscripts/init.d/hostapd index 02b8915f4d..ae1150ed66 100644 --- a/src/initscripts/init.d/hostapd +++ b/src/initscripts/init.d/hostapd @@ -17,7 +17,7 @@ case "${1}" in # Check Interface configuration if ! ip link show $INTERFACE > /dev/null 2>&1; then - boot_mesg "Interface $INTERFACE does'nt exist." ${FAILURE} + boot_mesg "Interface $INTERFACE doesn't exist." ${FAILURE} echo_failure exit 0 fi @@ -70,7 +70,7 @@ case "${1}" in /usr/bin/hostapd -P /var/run/hostapd /etc/hostapd.conf >/dev/null 2>&1 & - sleep 1 + sleep 2 if [ $DRIVER == "MADWIFI" ]; then iwpriv $INTERFACE maccmd 3 @@ -86,7 +86,7 @@ case "${1}" in fi fi - sleep 1 + sleep 2 if [ "$(/usr/sbin/iwconfig $INTERFACE | /bin/grep "Mode:Master")" == "" ]; then boot_mesg "Error! Can't set wlan master mode"