SmartAudio/package/luci/luci-app-p2pblock/root/etc/uci-defaults/40_luci-p2pblock

12 lines
229 B
Bash

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete citrack.@freifunk_p2pblock[-1]
add ucitrack freifunk_p2pblock
set ucitrack.@freifunk_p2pblock[-1].init=freifunk-p2pblock
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0