diff options
| author | 2012-11-01 11:13:53 -0600 | |
|---|---|---|
| committer | 2012-11-01 11:13:53 -0600 | |
| commit | 512eee2d4747d582f96686e625055871598706dc (patch) | |
| tree | cba506eeccdf6db353e20c2186b3fe21da758ee6 /normal.sh | |
| parent | Add reset module, spoofing convience script, and make normal do a reset instead of a start. (diff) | |
| download | wifi-monitoring-scripts-512eee2d4747d582f96686e625055871598706dc.tar.xz wifi-monitoring-scripts-512eee2d4747d582f96686e625055871598706dc.zip | |
Modernize scripts.
Diffstat (limited to 'normal.sh')
| -rwxr-xr-x | normal.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,7 +2,9 @@ if [[ $UID != 0 ]]; then echo "You must be root." exit -1 fi + ifconfig wlan0 down ifconfig wlan0 up -systemctl restart dhcpcd.service -systemctl restart wpa_supplicant@wlan0.service + +/etc/init.d/dhcpcd restart +/etc/init.d/wpa_supplicant restart |
