mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
initial support for no-mmu systems
This commit is contained in:
parent
6fb5847faf
commit
9be7435203
@ -37,7 +37,11 @@ int watchdog_main(int argc, char **argv)
|
||||
if (optind < argc - 1 || argc == 1)
|
||||
bb_show_usage();
|
||||
|
||||
#ifdef BB_NOMMU
|
||||
vfork_daemon(0, 1);
|
||||
#else
|
||||
bb_xdaemon(0, 1);
|
||||
#endif
|
||||
|
||||
signal(SIGHUP, watchdog_shutdown);
|
||||
signal(SIGINT, watchdog_shutdown);
|
||||
|
Loading…
Reference in New Issue
Block a user