aboutsummaryrefslogtreecommitdiff
path: root/net/acme
diff options
context:
space:
mode:
authorAlexey I. Froloff <raorn@raorn.name>2019-02-07 15:22:56 +0300
committerAlexey I. Froloff <raorn@raorn.name>2019-02-07 15:22:56 +0300
commitc636bf374f2bafe044ee56ad170a186cf2bbb6e5 (patch)
treebba0707548633a377ceaf02bcc4f4be6090b304b /net/acme
parent8564f61d5080403abed1f95ba11303166023b067 (diff)
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>
Diffstat (limited to 'net/acme')
-rw-r--r--net/acme/files/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/acme/files/run.sh b/net/acme/files/run.sh
index 144cdcd09..b5dfc731d 100644
--- a/net/acme/files/run.sh
+++ b/net/acme/files/run.sh
@@ -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