mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
13 lines
269 B
Bash
13 lines
269 B
Bash
#!/bin/sh
|
|
|
|
. /lib/functions.sh
|
|
|
|
add_owsd_ubusproxy_object_netmode() {
|
|
local netmd=$(uci -q get owsd.ubusproxy.object | grep netmode)
|
|
if [ -z "$netmd" ]; then
|
|
uci -q add_list owsd.ubusproxy.object="netmode"
|
|
uci commit owsd
|
|
fi
|
|
}
|
|
|
|
add_owsd_ubusproxy_object_netmode
|