inteno-netmodes: libexec script can't run scripts in background fixed by extra-script

by starting a script that starts netmode-conf in the background refs #14901
This commit is contained in:
Reidar Cederqvist 2018-05-08 18:16:38 +02:00
parent 1d882b99aa
commit 661d6d48eb
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
netmode-conf "$1" "$2" &

View file

@ -129,12 +129,12 @@ case "$1" in
json_load "`cat $file`" || write_error "invalid file content"
json_select "wifi_ifaces" || write_error "invalid file content"
start-netmode-conf "$file" "$from_gui" >/dev/null 2>/dev/null
json_init
json_add_string "status" success
json_dump
netmode-conf "$file" "$from_gui" >/dev/null 2>&1 &
;;
esac
;;