aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-06-01 13:42:08 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-06-01 13:42:08 +0000
commitd8a5c279e5d858fe4609a4648a031192a717d050 (patch)
treed052cf4afa7f485ae38f21755d98f06e44ddc5a1 /generic
parentCleaning up debug statements. (diff)
downloadgenkernel-d8a5c279e5d858fe4609a4648a031192a717d050.tar.gz
genkernel-d8a5c279e5d858fe4609a4648a031192a717d050.tar.bz2
genkernel-d8a5c279e5d858fe4609a4648a031192a717d050.zip
I accidentally removed some stuff that needed to be there in my overzealous debug cleanup.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@398 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'generic')
-rw-r--r--generic/linuxrc16
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/linuxrc b/generic/linuxrc
index 5a4fe5f..c19b689 100644
--- a/generic/linuxrc
+++ b/generic/linuxrc
@@ -652,22 +652,22 @@ then
[ "${DO_slowusb}" ] && sleep 10
echo -n '.'
- if [ "${USE_DEVFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '0' ]
+ if /tmp/.initrd/bin/[ "${USE_DEVFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '0' ]
then
umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!'
mount -n --move /tmp/.initrd/dev dev || echo '*: Failed to move over the /dev tree!'
rm -rf /tmp/.initrd/dev || echo '*: Failed to remove the initrd /dev!'
- elif [ "${USE_UDEV_NORMAL}" -eq '1' ]
+ elif /tmp/.initrd/bin/[ "${USE_UDEV_NORMAL}" -eq '1' ]
then
- [ -e /tmp/.initrd/dev/fd ] && rm /tmp/.initrd/dev/fd
- [ -e /tmp/.initrd/dev/stdin ] && rm /tmp/.initrd/dev/stdin
- [ -e /tmp/.initrd/dev/stdout ] && rm /tmp/.initrd/dev/stdout
- [ -e /tmp/.initrd/dev/stderr ] && rm /tmp/.initrd/dev/stderr
- [ -e /tmp/.initrd/dev/core ] && rm /tmp/.initrd/dev/core
+ /tmp/.initrd/bin/[ -e /tmp/.initrd/dev/fd ] && rm /tmp/.initrd/dev/fd
+ /tmp/.initrd/bin/[ -e /tmp/.initrd/dev/stdin ] && rm /tmp/.initrd/dev/stdin
+ /tmp/.initrd/bin/[ -e /tmp/.initrd/dev/stdout ] && rm /tmp/.initrd/dev/stdout
+ /tmp/.initrd/bin/[ -e /tmp/.initrd/dev/stderr ] && rm /tmp/.initrd/dev/stderr
+ /tmp/.initrd/bin/[ -e /tmp/.initrd/dev/core ] && rm /tmp/.initrd/dev/core
umount /tmp/.initrd/dev || echo '*: Failed to unmount the initrd /dev!'
umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!'
umount /tmp/.initrd/sys || echo '*: Failed to unmount the initrd /sys!'
- elif [ "${CDROOT}" -eq '1' ]
+ elif /tmp/.initrd/bin/[ "${CDROOT}" -eq '1' ]
then
umount /tmp/.initrd/proc || echo "*: Failed to unmount the initrd /proc!"
umount /dev 2>/dev/null