More spacing cleanups.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@399 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 19 years ago
parent d8a5c279e5
commit 8e5f5db006

@ -691,12 +691,12 @@ then
EOF
elif [ "$0" = '/init' ]
then
[ ! -e /${CHROOT}/dev/console ] && mknod /${CHROOT}/dev/console c 5 1
[ ! -e /${CHROOT}/dev/tty1 ] && mknod /${CHROOT}/dev/tty1 c 4 1
[ ! -e ${CHROOT}/dev/console ] && mknod ${CHROOT}/dev/console c 5 1
[ ! -e ${CHROOT}/dev/tty1 ] && mknod ${CHROOT}/dev/tty1 c 4 1
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting (initramfs)"
cd ${CHROOT}
mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null
mkdir ${CHROOT}/proc ${CHROOT}/sys 2>/dev/null
echo -n '.'
umount /sys || echo '*: Failed to unmount the initrd /sys!'
umount /proc || echo '*: Failed to unmount the initrd /proc!'
@ -728,12 +728,12 @@ then
do
if /bin/busybox [ ! -d "$j" -a "$j" != "/bin/busybox" ]
then
/bin/busybox rm "$j"
/bin/busybox rm -f "$j"
fi
if /bin/busybox [ -d "${j}" -a "${j}" != "/bin" -a "${j}" != "/dev" -a "${j}" != "/sys" ]
then
/bin/busybox rm -r "$j"
/bin/busybox rm -rf "$j"
fi
done
done

Loading…
Cancel
Save