aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-05-19 16:19:20 +0300
committerHans Dedecker <dedeckeh@gmail.com>2017-05-20 20:43:45 +0200
commitc7ee30d53af12ea725296cc323f68e8fe04e532c (patch)
treed7738e30f8a42042cd5f8fc6d3f8cd2d0a5f8f3e /package
parent48d71ab5021e5238623bab2f87b6425b2609c60a (diff)
downloadupstream-c7ee30d53af12ea725296cc323f68e8fe04e532c.tar.gz
upstream-c7ee30d53af12ea725296cc323f68e8fe04e532c.tar.bz2
upstream-c7ee30d53af12ea725296cc323f68e8fe04e532c.zip
base-files: fix default procd reload
Bug introduced with 6713694. I did not count on procd handling reload as mentioned in this doc: https://wiki.openwrt.org/inbox/procd-init-scripts ``` procd_set_param file /var/etc/your_service.conf # /etc/init.d/your_service reload will restart the daemon if these files have changed procd_set_param netdev dev # likewise, except if dev's ifindex changes. procd_set_param data name=value ... # likewise, except if this data changes. ``` The service would be restarted regardless of any of those params. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/rc.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common
index af7bed4f92..e80af891e6 100755
--- a/package/base-files/files/etc/rc.common
+++ b/package/base-files/files/etc/rc.common
@@ -130,7 +130,7 @@ ${INIT_TRACE:+set -x}
if eval "type reload_service" 2>/dev/null >/dev/null; then
reload_service "$@"
else
- restart
+ start
fi
}