lede/package/wwan/app/luci-app-pcimodem/root/etc/uci-defaults/luci-pcimodem
2023-02-02 19:43:57 +08:00

13 lines
195 B
Bash
Executable File

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