mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-13 20:01:55 +00:00
11 lines
220 B
Bash
11 lines
220 B
Bash
#!/bin/sh
|
|
|
|
if [ -z "$(uci -q get ucitrack.@wmt[0])" ]; then
|
|
uci -q batch <<-EOF
|
|
set ucitrack.@wmt[-1]=wmt
|
|
set ucitrack.@wmt[-1].init=wmt
|
|
add_list ucitrack.@wireless[0].affects=wmt
|
|
commit ucitrack
|
|
EOF
|
|
fi
|
|
exit 0
|