aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-06-08 10:05:38 -0400
committerDave Reisner <dreisner@archlinux.org>2012-06-08 10:05:38 -0400
commit6bd9bf8f66ae68ab3be48577ca223d0f47947512 (patch)
tree7d1055c46162446b9498eeddeaa7049edf874758 /rc.sysinit
parent71bc476074836ffcf60069889f8b45234060db9e (diff)
downloadinitscripts-6bd9bf8f66ae68ab3be48577ca223d0f47947512.tar.xz
use systemd-remount-fs to remount root
This has the added bonus of scanning /etc/fstab and remounting API filesystems should they be explicitly defined with extra options. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 876542a..58f3216 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -119,8 +119,8 @@ run_hook sysinit_postfsck
# Single-user login and/or automatic reboot if needed
fsck_reboot $fsckret
-status "Remounting Root" \
- mount -o remount /
+status "Remounting Root and API filesystems" \
+ /usr/lib/systemd/systemd-remount-fs
# now mount all the local filesystems
run_hook sysinit_premount