aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-06-24 15:50:18 +0200
committerTom Gundersen <teg@jklm.no>2012-06-24 16:13:41 +0200
commitb86af28c50de9285a5b064d984c3c9ba60d8b1d2 (patch)
treed99eca2ebc2fb3cd1c6fbd237aad1f4a090809f8 /rc.multi
parent32a67cdc01639a2080c93f2a0d71859f196b6c7d (diff)
downloadinitscripts-b86af28c50de9285a5b064d984c3c9ba60d8b1d2.tar.xz
mounting: let systemd-remount-fs deal with overwriting mount options
Any api filesystem which appears in fstab is remounted with the correct mount options at the end of boot. Also, move the binfmt mount to where it is needed. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.multi b/rc.multi
index d558753..daf2372 100755
--- a/rc.multi
+++ b/rc.multi
@@ -12,6 +12,8 @@ run_hook multi_start
/usr/lib/systemd/systemd-sysctl
# Load additional binary formats
+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
/usr/lib/systemd/systemd-binfmt
# Start daemons