b25a1756ca149b866b720555847d66236d758774
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_uhttpd.sh
1 #!/bin/sh
2 . $dir/functions.sh
3 if [ "$ipv6_enabled" = "1" ]; then
4 uci batch <<- EOF
5 set uhttpd.main.listen_http="80"
6 set uhttpd.main.listen_https="443"
7 EOF
8 fi
9
10 uci_commitverbose "Setup uhttpd" uhttpd
11