contrib/meshwizard: Cleanup olsrd config (Remove httpinfo and wlan interface
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_uhttpd.conf
1 #!/bin/sh
2 . $dir/functions.sh
3
4 if [ "$profile_ipv6" = 1 ]; then
5         uci batch <<- EOF
6                 set uhttpd.main.listen_http=":80"
7                 set uhttpd.main.listen_https=:"443"
8         EOF
9 fi
10
11 uci_commitverbose "Setup uhttpd" uhttpd
12