Browse Source

- pre/post-wlan: use SHOWINFO aliases

master
vanhofen 8 years ago
parent
commit
35d6047a76
  1. 4
      skel-root/coolstream/hd1/etc/network/post-wlan0.sh
  2. 5
      skel-root/coolstream/hd1/etc/network/pre-wlan0.sh
  3. 4
      skel-root/coolstream/hd2/etc/network/post-wlan0.sh
  4. 5
      skel-root/coolstream/hd2/etc/network/pre-wlan0.sh

4
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

5
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

4
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

5
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

Loading…
Cancel
Save