summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-11-03 21:24:46 +0000
committerJeremy Katz <katzj@redhat.com>2004-11-03 21:24:46 +0000
commit986a68c8e353ca8b1fc90df514b5436e8d6926d0 (patch)
treede6c2cb4daea851ff5cc3c4a582984d5d2764fdf /scripts
parent3c7f104c276795be77aeb89355dcf71f9729e150 (diff)
downloadanaconda-986a68c8e353ca8b1fc90df514b5436e8d6926d0.tar.gz
anaconda-986a68c8e353ca8b1fc90df514b5436e8d6926d0.tar.xz
anaconda-986a68c8e353ca8b1fc90df514b5436e8d6926d0.zip
2004-11-03 Jeremy Katz <katzj@redhat.com>
* scripts/scrubtree: Don't use busybox shutdown, poweroff, or reboot (#137948)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/scrubtree2
1 files changed, 1 insertions, 1 deletions
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