summaryrefslogtreecommitdiffstats
path: root/normal.sh
blob: dbb95aab071e9a43744317385cd2b5664bb03140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
if [[ $UID != 0 ]]; then
	echo "You must be root."
	exit -1
fi

ifconfig wlan0 down
ifconfig wlan0 up

/etc/init.d/dhcpcd restart
/etc/init.d/wpa_supplicant restart