h69k/package/emortal/automount/files/11-anonmount

14 lines
226 B
Plaintext
Raw Permalink Normal View History

2024-09-29 14:35:28 +00:00
#!/bin/sh
if ! uci -q get system.@imm_init[0].anon_mount > "/dev/null"; then
uci -q batch <<-EOF
set fstab.@global[0].anon_mount="1"
commit fstab
set system.@imm_init[0].anon_mount="1"
commit system
EOF
fi
exit 0