Browse Source

net/acme: commit uhttpd configuration if update_httpd set

uhttpd configuration should be commited when update_uhttpd set.

Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
lilik-openwrt-22.03
Alexey I. Froloff 6 years ago
parent
commit
c636bf374f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/acme/files/run.sh

+ 1
- 1
net/acme/files/run.sh View File

@ -132,9 +132,9 @@ post_checks()
if [ -e /etc/init.d/uhttpd ] && ( [ -n "$UHTTPD_LISTEN_HTTP" ] || [ $UPDATE_UHTTPD -eq 1 ] ); then
if [ -n "$UHTTPD_LISTEN_HTTP" ]; then
uci set uhttpd.main.listen_http="$UHTTPD_LISTEN_HTTP"
uci commit uhttpd
UHTTPD_LISTEN_HTTP=
fi
uci commit uhttpd
/etc/init.d/uhttpd reload
fi


Loading…
Cancel
Save