diff options
Diffstat (limited to 'applications/luci-app-dcwapd/root')
-rw-r--r-- | applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd b/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd new file mode 100644 index 0000000000..36455f834f --- /dev/null +++ b/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd @@ -0,0 +1,11 @@ +#!/bin/sh + +# register commit handler +uci -q batch <<-EOF >/dev/null + delete ucitrack.@dcwapd[-1] + add ucitrack dcwapd + set ucitrack.@dcwapd[-1].init=dcwapd + commit ucitrack +EOF + +exit 0 |