syntax fix
This commit is contained in:
@@ -113,3 +113,4 @@ uci commit dhcp
|
|||||||
/etc/init.d/firewall restart
|
/etc/init.d/firewall restart
|
||||||
|
|
||||||
echo "All done!"
|
echo "All done!"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
# Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
|
# Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
|
||||||
# Uncomment lines to apply:
|
# Uncomment lines to apply:
|
||||||
wlan_name="office-dev"
|
wlan_name="office-dev"
|
||||||
@@ -44,7 +46,7 @@ uci set system.@system[0].hostname="$hostname"
|
|||||||
uci set system.@system[0].timezone='<+05>-5'
|
uci set system.@system[0].timezone='<+05>-5'
|
||||||
uci set system.ntp.enable_server='1'
|
uci set system.ntp.enable_server='1'
|
||||||
uci set system.ntp.interface='lan'
|
uci set system.ntp.interface='lan'
|
||||||
uci set system.@system[0].zonename='Asia/Yekaterinburg
|
uci set system.@system[0].zonename='Asia/Yekaterinburg'
|
||||||
commit system
|
commit system
|
||||||
/etc/init.d/system restart
|
/etc/init.d/system restart
|
||||||
|
|
||||||
@@ -111,5 +113,3 @@ uci commit dhcp
|
|||||||
|
|
||||||
# Configure firewall
|
# Configure firewall
|
||||||
/etc/init.d/firewall restart
|
/etc/init.d/firewall restart
|
||||||
|
|
||||||
echo "All done!"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user