You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
458 B
Plaintext

1 year ago
#!/bin/sh
if [ ! -f /etc/config/easymesh ]; then
echo "Creating /etc/config/easymesh"
cat <<EOF > /etc/config/easymesh
config easymesh 'config'
option enabled '0'
EOF
reload_config
else
echo "/etc/config/easymesh exists, skipping creation"
fi
# uci -q batch <<-EOF >/dev/null
# delete ucitrack.@easymesh[-1]
# add ucitrack easymesh
# set ucitrack.@easymesh[-1].init=easymesh
# commit ucitrack
# EOF
1 year ago
rm -f /tmp/luci-indexcache
exit 0