mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
owsd: Updated uci-default script
This commit is contained in:
parent
74cbe1062a
commit
b6212b90d8
1 changed files with 0 additions and 3 deletions
|
|
@ -8,7 +8,6 @@ uci set owsd.ubusproxy.enable="1"
|
||||||
uci set owsd.ubusproxy.peer_key="/etc/ubusx/ubusx_demo_only.key"
|
uci set owsd.ubusproxy.peer_key="/etc/ubusx/ubusx_demo_only.key"
|
||||||
uci set owsd.ubusproxy.peer_cert="/etc/ubusx/ubusx_demo_only.crt"
|
uci set owsd.ubusproxy.peer_cert="/etc/ubusx/ubusx_demo_only.crt"
|
||||||
uci set owsd.ubusproxy.peer_ca="/etc/ubusx/ubusxDemoCA.crt"
|
uci set owsd.ubusproxy.peer_ca="/etc/ubusx/ubusxDemoCA.crt"
|
||||||
uci commit owsd
|
|
||||||
|
|
||||||
# do not create wan_https section if it exists already
|
# do not create wan_https section if it exists already
|
||||||
[ "$(uci -q get owsd.wan_https)" == "owsd-listen" ] && exit 0
|
[ "$(uci -q get owsd.wan_https)" == "owsd-listen" ] && exit 0
|
||||||
|
|
@ -25,5 +24,3 @@ uci set owsd.wan_https.ca="/etc/ubusx/ubusxDemoCA.crt"
|
||||||
uci set owsd.wan_https.whitelist_interface_as_origin="1"
|
uci set owsd.wan_https.whitelist_interface_as_origin="1"
|
||||||
uci del_list owsd.wan_https.origin="*"
|
uci del_list owsd.wan_https.origin="*"
|
||||||
uci add_list owsd.wan_https.origin="*"
|
uci add_list owsd.wan_https.origin="*"
|
||||||
uci commit owsd
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue