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:
delphij 2014-12-03 01:34:24 +00:00
parent 8db10b0df1
commit 3820d1cbef

View File

@ -51,7 +51,8 @@ CRUNCH_LIBS+= ${.OBJDIR}/../librescue/*.o
CRUNCH_SRCDIRS+= bin CRUNCH_SRCDIRS+= bin
CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \ CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \
ed expr getfacl hostname kenv kill ln ls mkdir mv \ 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_LIBS+= -lcrypt -ledit -ljail -lkvm -ll -ltermcapw -lutil -lxo
CRUNCH_BUILDTOOLS+= bin/sh CRUNCH_BUILDTOOLS+= bin/sh