mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
parental-control: Use the correct instance name in reload service
This commit is contained in:
parent
065772401b
commit
605f0faacc
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ stop_service() {
|
|||
}
|
||||
|
||||
reload_service() {
|
||||
ret=$(ubus call service list '{"name":"parentalcontrol"}' | jsonfilter -qe '@.parentalcontrol.instances.parentalcontrol_dm.running')
|
||||
ret=$(ubus call service list '{"name":"parentalcontrol"}' | jsonfilter -qe '@.parentalcontrol.instances.parentalcontrol.running')
|
||||
if [ "$ret" != "true" ]; then
|
||||
stop
|
||||
start
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue