mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
run swmd and peripheral manager in foreground
This commit is contained in:
parent
106d60ad73
commit
b5d514076d
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ PROG=/sbin/peripheral_manager
|
|||
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG"
|
||||
procd_set_param command "$PROG" -f
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ void print_usage(char *prg_name) {
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
int ch;
|
||||
int daemonize = 0;
|
||||
int daemonize = 1;
|
||||
pid_t pid, sid;
|
||||
struct uci_context *uci_ctx = NULL;
|
||||
static struct ubus_context *ubus_ctx = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue