mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
treewide: fix procd service inactive
Exit directly will result procd service inactive and uci
configuration changes are no longer monitored.
Reported-by: Lvc Revincx <revincx233@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit b1651c5d54)
This commit is contained in:
committed by
Rosen Penev
parent
31b99e2560
commit
15ce9af907
@@ -18,7 +18,7 @@ start_service() {
|
||||
|
||||
local enabled
|
||||
config_get_bool enabled "config" "enabled"
|
||||
[ "$enabled" -eq "1" ] || exit 1
|
||||
[ "$enabled" -eq "1" ] || return 1
|
||||
|
||||
procd_open_instance "$CONF"
|
||||
procd_set_param command "$PROG" "tunnel"
|
||||
|
||||
Reference in New Issue
Block a user