istoreos: set default zonename

This commit is contained in:
Liangbin Lian 2024-12-31 16:00:22 +08:00
parent b26350341a
commit e5c542b295

View File

@ -5,6 +5,11 @@ if [ ! -f /etc/config/fstab ]; then
/usr/libexec/blockmount.sh detect 2>/dev/null
fi
uci -q batch <<-EOF >/dev/null
set system.@system[-1].zonename='Asia/Shanghai'
commit system
EOF
uci set dockerd.globals.data_root=/overlay/upper/opt/docker
if grep -qFw nas /proc/device-tree/chosen/default-firewall; then