From 57a01e77333fcce5cafd0cbfa10153914cdb92e5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Feb 2008 10:20:38 +0000 Subject: [PATCH] * Prevent warnings about existing directories. svn path=/nixos/trunk/; revision=10489 --- boot/boot-stage-2-init.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boot/boot-stage-2-init.sh b/boot/boot-stage-2-init.sh index 5e2754fcdd70..eafd64a8dcdc 100644 --- a/boot/boot-stage-2-init.sh +++ b/boot/boot-stage-2-init.sh @@ -68,12 +68,12 @@ mount -t tmpfs -o "mode=0755" none /dev mkdir -m 0755 -p /dev/pts mount -t devpts none /dev/pts mount -t usbfs none /proc/bus/usb -mkdir -m 01777 /tmp -mkdir -m 0755 /var -mkdir -m 0755 /nix/var -mkdir -m 0700 /root -mkdir -m 0755 /bin # for the /bin/sh symlink -mkdir -m 0755 /home +mkdir -m 01777 -p /tmp +mkdir -m 0755 -p /var +mkdir -m 0755 -p /nix/var +mkdir -m 0700 -p /root +mkdir -m 0755 -p /bin # for the /bin/sh symlink +mkdir -m 0755 -p /home # Miscellaneous boot time cleanup.