mirror of
https://github.com/kenzok8/small-package.git
synced 2026-01-13 10:55:14 +08:00
15 lines
226 B
Bash
15 lines
226 B
Bash
#!/bin/sh
|
|
|
|
uci -q batch <<-EOF_UCI >/dev/null
|
|
delete ucitrack.@fastnet[-1]
|
|
add ucitrack fastnet
|
|
set ucitrack.@fastnet[-1].init=fastnet
|
|
commit ucitrack
|
|
|
|
EOF_UCI
|
|
|
|
/etc/init.d/fastnet enable
|
|
/etc/init.d/fastnet start
|
|
|
|
exit 0
|