summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dcwapd/root/etc/uci-defaults/60_luci-dcwapd
blob: 36455f834f63abd2fab5422f39b79d75d79e54f8 (plain)
1
2
3
4
5
6
7
8
9
10
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