summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-09-01 16:18:29 +0200
committermaximilian attems <maks@debian.org>2006-09-01 16:18:29 +0200
commit8ae9783215c2845b50dfb70b919df0753c2b0dd9 (patch)
tree78bdbb775a3cc2d3ec8e4f2cc1026ea8aff6dc5f /init
parent45989c9f37db0ef23e984ea559f2da784a028366 (diff)
downloadinitramfs-tools-8ae9783215c2845b50dfb70b919df0753c2b0dd9.tar.gz
initramfs-tools-8ae9783215c2845b50dfb70b919df0753c2b0dd9.zip
- fix destination of the mdrun.conf for partial sarge upgrades
- checkout if /sbin/lilo is really there - guard more dirs against creation - add /etc/kernel-img.conf to reportbug output
Diffstat (limited to 'init')
-rwxr-xr-xinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/init b/init
index a83dc39..0c336b3 100755
--- a/init
+++ b/init
@@ -6,9 +6,9 @@ echo "Loading, please wait..."
[ -d /root ] || mkdir --mode=0700 /root
[ -e /dev/console ] || mknod /dev/console c 5 1
[ -e /dev/null ] || mknod /dev/null c 1 3
-mkdir /sys
-mkdir /proc
-mkdir /tmp
+[ -d /sys ] || mkdir /sys
+[ -d /proc ] || mkdir /proc
+[ -d /tmp ] || mkdir /tmp
mkdir -p /var/lock
mount -t sysfs none /sys
mount -t proc none /proc