|
|
@ -11,12 +11,12 @@ else
|
|
|
|
echo "/etc/config/easymesh exists, skipping creation"
|
|
|
|
echo "/etc/config/easymesh exists, skipping creation"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# uci -q batch <<-EOF >/dev/null
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
|
|
# delete ucitrack.@easymesh[-1]
|
|
|
|
delete ucitrack.@easymesh[-1]
|
|
|
|
# add ucitrack easymesh
|
|
|
|
add ucitrack easymesh
|
|
|
|
# set ucitrack.@easymesh[-1].init=easymesh
|
|
|
|
set ucitrack.@easymesh[-1].init=easymesh
|
|
|
|
# commit ucitrack
|
|
|
|
commit ucitrack
|
|
|
|
# EOF
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
|
|
exit 0
|
|
|
|
exit 0
|
|
|
|