small-package/.github/diy/patches/package.patch

12 lines
355 B
Diff

--- a/luci-base/root/sbin/luci-reload
+++ b/luci-base/root/sbin/luci-reload
@@ -26,7 +26,7 @@ reload_exec() {
}
reload_init() {
- [ -x /etc/init.d/$2 ] && /etc/init.d/$2 enabled && {
+ [ -x /etc/init.d/$2 ] && {
echo "Reloading $1... "
/etc/init.d/$2 reload >/dev/null 2>&1
[ -n "$3" -a "$?" != "$3" ] && echo '!!! Failed to reload' $1 '!!!'