mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Delete default wifi
This commit is contained in:
parent
6aa1b13111
commit
b830b94577
1 changed files with 10 additions and 0 deletions
10
openmptcprouter/files/etc/uci-defaults/2030-omr-wifi
Executable file
10
openmptcprouter/files/etc/uci-defaults/2030-omr-wifi
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
uci -q show wireless.default_radio0 && {
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
delete wireless.default_radio0
|
||||||
|
commit wireless
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue