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

12 lines
186 B
Bash

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