1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00

* /var/run/safemode isn't used anywhere.

svn path=/nixos/branches/upstart-0.6/; revision=18257
This commit is contained in:
Eelco Dolstra 2009-11-07 15:24:59 +00:00
parent d9d072a89b
commit 2353e53c5f

View file

@ -27,7 +27,7 @@ setPath "@path@"
# Mount special file systems.
mkdir -m 0755 -p /etc
test -e /etc/fstab || touch /etc/fstab # to shut up mount
[ -s /etc/mtab ] && rm /etc/mtab # while installing a symlink is created (see man mount), if it's still there for whateever reason remove it
test -s /etc/mtab && rm /etc/mtab # while installing a symlink is created (see man mount), if it's still there for whateever reason remove it
rm -f /etc/mtab* # not that we care about stale locks
mkdir -m 0755 -p /proc
mount -n -t proc none /proc
@ -100,11 +100,6 @@ rm -rf /var/lock
# gone, of course.
rm -rf /nix/var/nix/chroots # recreated in activate-configuration.sh
if test -n "$safeMode"; then
mkdir -m 0755 -p /var/run
touch /var/run/safemode
fi
# Create the minimal device nodes needed for the activation scripts
# and Upstart.