From 3820d1cbef92ef99a0d598a7b16a282f9aff3975 Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 3 Dec 2014 01:34:24 +0000 Subject: [PATCH] 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. --- rescue/rescue/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 0de7789d2a4a..e08ec2953f1f 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