From f5e8f68a7dc8044337bfee9d3af8117690ce473a Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sun, 24 Jun 2012 15:51:46 +0200 Subject: 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 --- rc.sysinit | 1 - 1 file changed, 1 deletion(-) (limited to 'rc.sysinit') 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 -- cgit v1.2.3