1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Strip trailing whitespace.

svn path=/nixos/trunk/; revision=29246
This commit is contained in:
Peter Simons 2011-09-13 18:49:50 +00:00
parent d3528a3c4e
commit a499049ce5
3 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@ export PATH=@extraUtils@/bin
fail() {
if [ -n "$panicOnFail" ]; then exit 1; fi
# If starting stage 2 failed, allow the user to repair the problem
# in an interactive shell.
cat <<EOF
@ -24,7 +24,7 @@ of the following keys:
EOF
read reply
case $reply in
f)
exec @shell@;;
@ -126,7 +126,7 @@ udevadm control --env=STARTUP=
echo "starting device mapper and LVM..."
lvm vgscan
lvm vgchange -ay
if test -n "$debug1devices"; then fail; fi
@ -176,7 +176,7 @@ checkFS() {
then
return 0
fi
# Don't run `fsck' if the machine is on battery power. !!! Is
# this a good idea?
if ! onACPower; then

View file

@ -36,7 +36,7 @@ mount -n -o remount,rw none /
if [ ! -e /proc/1 ]; then
mkdir -m 0755 -p /proc
mount -n -t proc none /proc
mkdir -m 0755 -p /sys
mkdir -m 0755 -p /sys
mount -t sysfs none /sys
mkdir -m 0755 -p /dev
mount -t tmpfs -o "mode=0755" none /dev
@ -86,9 +86,9 @@ done
mkdir -m 0777 /dev/shm
mount -t tmpfs -o "rw,nosuid,nodev,size=@devShmSize@" tmpfs /dev/shm
mkdir -m 0755 -p /dev/pts
mount -t devpts -o mode=0600,gid=@ttyGid@ none /dev/pts
mount -t devpts -o mode=0600,gid=@ttyGid@ none /dev/pts
[ -e /proc/bus/usb ] && mount -t usbfs none /proc/bus/usb # UML doesn't have USB by default
mkdir -m 01777 -p /tmp
mkdir -m 01777 -p /tmp
mkdir -m 0755 -p /var
mkdir -m 0755 -p /nix/var
mkdir -m 0700 -p /root

View file

@ -66,7 +66,7 @@ let
${config.powerManagement.powerUpCommands}
'';
};
in
{