summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-09-04 18:54:59 +0200
committermaximilian attems <maks@debian.org>2006-09-04 18:54:59 +0200
commitcf4bba337d69510c4551ba84e8c69562873ea93f (patch)
treea57a27fa39693b3a39d57aa3a1bf4cb6e6b30d52 /init
parent8ae9783215c2845b50dfb70b919df0753c2b0dd9 (diff)
downloadinitramfs-tools-cf4bba337d69510c4551ba84e8c69562873ea93f.tar.gz
initramfs-tools-cf4bba337d69510c4551ba84e8c69562873ea93f.zip
- better nfs handling: merge vagrant branch :) + local changes
- cleanup stupid whitespace all over the place
Diffstat (limited to 'init')
-rwxr-xr-xinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 0c336b3..85f6291 100755
--- a/init
+++ b/init
@@ -4,8 +4,6 @@ echo "Loading, please wait..."
[ -d /dev ] || mkdir -m 0755 /dev
[ -d /root ] || mkdir --mode=0700 /root
-[ -e /dev/console ] || mknod /dev/console c 5 1
-[ -e /dev/null ] || mknod /dev/null c 1 3
[ -d /sys ] || mkdir /sys
[ -d /proc ] || mkdir /proc
[ -d /tmp ] || mkdir /tmp
@@ -20,6 +18,8 @@ if [ -e /etc/udev/udev.conf ]; then
. /etc/udev/udev.conf
fi
mount -t tmpfs -o size=$tmpfs_size,mode=0755 udev /dev
+[ -e /dev/console ] || mknod /dev/console c 5 1
+[ -e /dev/null ] || mknod /dev/null c 1 3
> /dev/.initramfs-tools
mkdir /dev/.initramfs