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.
This commit is contained in:
Xin LI
2014-12-03 01:34:24 +00:00
parent 86fd88736f
commit e8b00d3d65
+2 -1
View File
@@ -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