From 986a68c8e353ca8b1fc90df514b5436e8d6926d0 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 3 Nov 2004 21:24:46 +0000 Subject: 2004-11-03 Jeremy Katz * scripts/scrubtree: Don't use busybox shutdown, poweroff, or reboot (#137948) --- scripts/scrubtree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/scrubtree b/scripts/scrubtree index 5c5be9466..4b87c0d60 100755 --- a/scripts/scrubtree +++ b/scripts/scrubtree @@ -50,7 +50,7 @@ mv $p/usr/sbin/busybox.anaconda $p/usr/bin/busybox (cd $p/usr/bin; set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\[]+,)+/' | sed 's/,//g' | sed 's/ +//'); while [ -n "$1" ]; do - if [ $1 != "busybox" -a $1 != "sh" ]; then + if [ $1 != "busybox" -a $1 != "sh" -a $1 != "shutdown" -a $1 != "poweroff" -a $1 != "reboot" ]; then # if file doesnt already exist, link to busybox if [ ! -f "$1" ]; then ln -sf ./busybox $1 -- cgit