aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-06-24 13:51:46 (GMT)
committerTom Gundersen <teg@jklm.no>2012-06-24 14:14:16 (GMT)
commitf5e8f68a7dc8044337bfee9d3af8117690ce473a (patch)
tree9f3c3361685bb78c858ec8f8cd37d44699183859 /rc.sysinit
parentb86af28c50de9285a5b064d984c3c9ba60d8b1d2 (diff)
downloadinitscripts-f5e8f68a7dc8044337bfee9d3af8117690ce473a.tar.xz
rc.sysinit: don't create /run/lock
This is done by tmpfiles, and we want to use the permissions in the config file, rather than hardcoding them. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit1
1 files changed, 0 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index a40cc06..70025a1 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -23,7 +23,6 @@ mountpoint -q /proc || mount -t proc proc /proc -o nosuid,noexec,nodev
mountpoint -q /sys || mount -t sysfs sys /sys -o nosuid,noexec,nodev
mountpoint -q /run || mount -t tmpfs run /run -o mode=0755,nosuid,nodev
mountpoint -q /dev || mount -t devtmpfs dev /dev -o mode=0755,nosuid
-mkdir -p -m 1777 /run/lock
mkdir -p /dev/{pts,shm}
mountpoint -q /dev/pts || mount -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
mountpoint -q /dev/shm || mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev