@@ -4,7 +4,9 @@ _MAC="SuperGlue-"$_MAC
[ $(uci get wireless.@wifi-iface[0].ssid) != $_MAC ] && (
uci set wireless.@wifi-iface[0].ssid=$_MAC
uci commit
- ( sleep 1; reboot; )&
+ wifi
+ /etc/init.d/network restart
+ /etc/init.d/dhcpd restart
)
exit 0