summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-10-18 14:12:18 -0400
committerDave Reisner <dreisner@archlinux.org>2011-11-06 19:15:52 -0500
commit92417647ce005c5de3de710389a708ff293d1c77 (patch)
tree743440caabdc8a7debc1a41adec413c0525c96cf /rc.sysinit
parentfb4e5f6662e32dacb8373274f6ed5592e79472e3 (diff)
avoid unnecessary escaping of newlines
The bash parser assumes that an expression continues when || is at the end of a line. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit12
1 files changed, 6 insertions, 6 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 1c74bd9..eb66935 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -15,14 +15,14 @@ printsep
mountpoint -q /proc || mount -n -t proc proc /proc -o nosuid,noexec,nodev
mountpoint -q /sys || mount -n -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run || mount -n -t tmpfs run /run -o mode=0755,size=10M,nosuid,nodev
-mountpoint -q /dev || mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid \
- || mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid
+mountpoint -q /dev || mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid ||
+ mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid
mkdir -p -m 1777 /run/lock
mkdir -p /dev/{pts,shm}
-mountpoint -q /dev/pts || mount -n /dev/pts &>/dev/null \
- || mount -n -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
-mountpoint -q /dev/shm || mount -n /dev/shm &>/dev/null \
- || mount -n -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
+mountpoint -q /dev/pts || mount -n /dev/pts &>/dev/null ||
+ mount -n -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
+mountpoint -q /dev/shm || mount -n /dev/shm &>/dev/null ||
+ mount -n -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
# remount root ro to allow for fsck later on, we remount now to
# make sure nothing can open files rw on root which would block a remount