projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8564f61
)
net/acme: commit uhttpd configuration if update_httpd set
8149/head
author
Alexey I. Froloff
<raorn@raorn.name>
Thu, 7 Feb 2019 12:22:56 +0000
(15:22 +0300)
committer
Alexey I. Froloff
<raorn@raorn.name>
Thu, 7 Feb 2019 12:22:56 +0000
(15:22 +0300)
uhttpd configuration should be commited when update_uhttpd set.
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
net/acme/files/run.sh
patch
|
blob
|
history
diff --git
a/net/acme/files/run.sh
b/net/acme/files/run.sh
index 144cdcd090d8a866b91d4c817985a08560f74645..b5dfc731ddd29e561d731ed379e744f1fe3e8eb1 100644
(file)
--- 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