syntax fix

This commit is contained in:
2023-12-15 23:49:43 +05:00
parent a417105c93
commit c57e0851df
2 changed files with 4 additions and 3 deletions

View File

@@ -113,3 +113,4 @@ uci commit dhcp
/etc/init.d/firewall restart
echo "All done!"

View File

@@ -1,3 +1,5 @@
#!/bin/sh
#
# Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
# Uncomment lines to apply:
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.ntp.enable_server='1'
uci set system.ntp.interface='lan'
uci set system.@system[0].zonename='Asia/Yekaterinburg
uci set system.@system[0].zonename='Asia/Yekaterinburg'
commit system
/etc/init.d/system restart
@@ -111,5 +113,3 @@ uci commit dhcp
# Configure firewall
/etc/init.d/firewall restart
echo "All done!"