mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
* /var/run/safemode isn't used anywhere.
svn path=/nixos/branches/upstart-0.6/; revision=18257
This commit is contained in:
parent
d9d072a89b
commit
2353e53c5f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user