aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-10-20 18:14:17 -0500
committerRob Landley <rob@landley.net>2020-10-20 18:14:17 -0500
commitb840ceb0db53ee96e79f1f7fe1547eefb68df75a (patch)
tree7c1c353bd46998cfa3498b6d113e0ce0affc98e0 /toys
parentd0d4107534ac1b7c6ebf8d1e194d7c58ed0e5c52 (diff)
downloadtoybox-b840ceb0db53ee96e79f1f7fe1547eefb68df75a.tar.gz
Can't call daemon() on nommu.
Diffstat (limited to 'toys')
-rw-r--r--toys/net/sntp.c1
-rw-r--r--toys/pending/watchdog.c1
2 files changed, 2 insertions, 0 deletions
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