Adds a simple interface to the basic functionality of pagekite services. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
11 lines
198 B
Bash
Executable file
11 lines
198 B
Bash
Executable file
#!/bin/sh
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@pagekitec[-1]
|
|
add ucitrack pagekitec
|
|
set ucitrack.@pagekitec[-1].init=pagekitec
|
|
commit ucitrack
|
|
EOF
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0
|