mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
15 lines
226 B
Bash
Executable File
15 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@nfs[-1]
|
|
add ucitrack nfs
|
|
set ucitrack.@nfs[-1].init=nfs
|
|
commit ucitrack
|
|
EOF
|
|
|
|
/etc/init.d/nfs enable && /etc/init.d/nfs restart
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
|
|
exit 0
|