diff --git a/skel-root/coolstream/hd1/etc/network/post-wlan0.sh b/skel-root/coolstream/hd1/etc/network/post-wlan0.sh index 66784c63..ecca9ef5 100755 --- a/skel-root/coolstream/hd1/etc/network/post-wlan0.sh +++ b/skel-root/coolstream/hd1/etc/network/post-wlan0.sh @@ -1,6 +1,8 @@ #!/bin/sh -echo Stopping wlan0 +. /etc/init.d/globals + +SHOWINFO "Stopping wlan0" /sbin/wpa_cli terminate sleep 2 diff --git a/skel-root/coolstream/hd1/etc/network/pre-wlan0.sh b/skel-root/coolstream/hd1/etc/network/pre-wlan0.sh index c134993d..5e84e0ec 100755 --- a/skel-root/coolstream/hd1/etc/network/pre-wlan0.sh +++ b/skel-root/coolstream/hd1/etc/network/pre-wlan0.sh @@ -1,9 +1,12 @@ #!/bin/sh -echo Starting wlan0 +. /etc/init.d/globals + +SHOWINFO "Starting wlan0" /sbin/wpa_cli terminate sleep 2 + /sbin/wpa_supplicant -D wext -c /etc/wpa_supplicant.conf -i wlan0 -B #/sbin/wpa_supplicant -B -D wext -i ra0 -c /etc/wpa_supplicant.conf //ralink sleep 8 diff --git a/skel-root/coolstream/hd2/etc/network/post-wlan0.sh b/skel-root/coolstream/hd2/etc/network/post-wlan0.sh index 66784c63..ecca9ef5 100755 --- a/skel-root/coolstream/hd2/etc/network/post-wlan0.sh +++ b/skel-root/coolstream/hd2/etc/network/post-wlan0.sh @@ -1,6 +1,8 @@ #!/bin/sh -echo Stopping wlan0 +. /etc/init.d/globals + +SHOWINFO "Stopping wlan0" /sbin/wpa_cli terminate sleep 2 diff --git a/skel-root/coolstream/hd2/etc/network/pre-wlan0.sh b/skel-root/coolstream/hd2/etc/network/pre-wlan0.sh index c134993d..5e84e0ec 100755 --- a/skel-root/coolstream/hd2/etc/network/pre-wlan0.sh +++ b/skel-root/coolstream/hd2/etc/network/pre-wlan0.sh @@ -1,9 +1,12 @@ #!/bin/sh -echo Starting wlan0 +. /etc/init.d/globals + +SHOWINFO "Starting wlan0" /sbin/wpa_cli terminate sleep 2 + /sbin/wpa_supplicant -D wext -c /etc/wpa_supplicant.conf -i wlan0 -B #/sbin/wpa_supplicant -B -D wext -i ra0 -c /etc/wpa_supplicant.conf //ralink sleep 8