path: root/rc.sysinit
diff options
authorTom Gundersen <teg@jklm.no>2012-05-14 23:44:52 (GMT)
committerTom Gundersen <teg@jklm.no>2012-05-29 10:48:18 (GMT)
commit6aae67af18fcb9af1ab47c7dd4bfd9c265f0203b (patch)
tree5fab7dbe3b0f28abb3d65b73d670b0ccc08f54fa /rc.sysinit
parent6f3ad111dd2dc18e0d393d59e3a1b383e69d0741 (diff)
tmpfiles,sysctl,binfmt: use the systemd tools
No point in reinventing the wheel. These and other tools are shipped in the systemd-tools package. Functionality should be unchanged, but we no longer have to maintain the code. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
1 files changed, 4 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 32313ab..53f0130 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -20,9 +20,11 @@ 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 /dev/pts &>/dev/null ||
- mount -n -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
+ mount -t devpts devpts /dev/pts -o mode=0620,gid=5,nosuid,noexec
mountpoint -q /dev/shm || mount /dev/shm &>/dev/null ||
- mount -n -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
+ mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev
+mountpoint -q /proc/sys/fs/binfmt_misc || mount /proc/sys/fs/binfmt_misc &>/dev/null ||
+ mount -t binfmt_misc binfmt /proc/sys/fs/binfmt_misc
if [[ ! -e /run/initramfs/fsck-root ]]; then
# remount root ro to allow for fsck later on, we remount now to