From b840ceb0db53ee96e79f1f7fe1547eefb68df75a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 20 Oct 2020 18:14:17 -0500 Subject: Can't call daemon() on nommu. --- toys/net/sntp.c | 1 + toys/pending/watchdog.c | 1 + 2 files changed, 2 insertions(+) (limited to 'toys') diff --git a/toys/net/sntp.c b/toys/net/sntp.c index 19e131f7..dae19485 100644 --- a/toys/net/sntp.c +++ b/toys/net/sntp.c @@ -11,6 +11,7 @@ USE_SNTP(NEWTOY(sntp, ">1M :m :Sp:t#<0=1>16asdDqr#<4>17=10[!as]", TOYFLAG_USR|TO config SNTP bool "sntp" default y + depends on TOYBOX_FORK help usage: sntp [-saSdDq] [-r SHIFT] [-mM[ADDRESS]] [-p PORT] [SERVER] diff --git a/toys/pending/watchdog.c b/toys/pending/watchdog.c index ea29d02e..86444100 100644 --- a/toys/pending/watchdog.c +++ b/toys/pending/watchdog.c @@ -9,6 +9,7 @@ USE_WATCHDOG(NEWTOY(watchdog, "<1>1Ft#=4<1T#=60<1", TOYFLAG_NEEDROOT|TOYFLAG_BIN config WATCHDOG bool "watchdog" default n + depends on TOYBOX_FORK help usage: watchdog [-F] [-t SW_TIMER_S] [-T HW_TIMER_S] DEV -- cgit v1.2.3