#!/bin/sh . $dir/functions.sh if [ "$profile_ipv6" = 1 ]; then uci batch <<- EOF set uhttpd.main.listen_http=":80" set uhttpd.main.listen_https=:"443" EOF fi uci_commitverbose "Setup uhttpd" uhttpd