openwrt/package
Alexandru Ardelean 38ea91ea9a base-files: use restart if no reload hook for service
This was also working before, with a slightly
different semantic.

[ Original semantic ]
If no reload hooks was implemented, the default one would
kick in, it would return fail, and restart would happen.

This would happen also in the case where a reload hook
would be implemented, it would fail, and it would restart
the service.

[ New semantic ]
The default reload hook calls restart.
Services can implement their own reload.

If reload fails, then the '/etc/init.d/<service> reload'
would return a non-zero code, and the caller can choose
a way to handle this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 6713694fe4)
2017-12-13 15:02:09 +01:00
..
base-files base-files: use restart if no reload hook for service 2017-12-13 15:02:09 +01:00
boot kexec-tools: get kexec running on MUSL and x86 hardware 2017-12-13 14:59:22 +01:00
devel binutils: fix build with host gcc < 4.9 2017-05-24 18:05:18 +02:00
firmware ath10k-firmware: do not select the qca988x by default 2017-05-27 14:22:16 +02:00
kernel mac80211: Fix race condition leading to wifi interfaces not coming up at boot sometimes. 2017-12-13 14:52:24 +01:00
libs lzo: Update to 2.10 2017-12-13 14:47:43 +01:00
network iproute2: add libgenl.h and ll_map.h to InstallDev section 2017-12-13 15:01:44 +01:00
system procd.sh: use parameterized respawn values 2017-12-13 14:39:02 +01:00
utils busybox: fix installation of cron and ntpd scripts in the default config 2017-12-13 15:01:04 +01:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00