summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-12-03 01:34:24 +0000
committerdelphij <delphij@FreeBSD.org>2014-12-03 01:34:24 +0000
commit3820d1cbef92ef99a0d598a7b16a282f9aff3975 (patch)
treeae882936b87d718c0eaef0dbd57ddc6bb29c1bac /rescue
parent8db10b0df12ba40580dfbb3c722c3662ab0d8e88 (diff)
downloadFreeBSD-src-3820d1cbef92ef99a0d598a7b16a282f9aff3975.zip
FreeBSD-src-3820d1cbef92ef99a0d598a7b16a282f9aff3975.tar.gz
Add sleep(1) to /rescue. This adds 664 bytes to the binary on amd64 but
it's pretty useful for shell scripts. MFC after: 1 month Sponsored by: iXsystems, Inc.
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 0de7789..e08ec29 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -51,7 +51,8 @@ CRUNCH_LIBS+= ${.OBJDIR}/../librescue/*.o
CRUNCH_SRCDIRS+= bin
CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \
ed expr getfacl hostname kenv kill ln ls mkdir mv \
- pkill ps pwd realpath rm rmdir setfacl sh stty sync test
+ pkill ps pwd realpath rm rmdir setfacl sh sleep stty \
+ sync test
CRUNCH_LIBS+= -lcrypt -ledit -ljail -lkvm -ll -ltermcapw -lutil -lxo
CRUNCH_BUILDTOOLS+= bin/sh
OpenPOWER on IntegriCloud