summaryrefslogtreecommitdiffstats
path: root/projectroot/usr/lib/systemd/systemd-rc-once
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/usr/lib/systemd/systemd-rc-once')
-rw-r--r--projectroot/usr/lib/systemd/systemd-rc-once8
1 files changed, 4 insertions, 4 deletions
diff --git a/projectroot/usr/lib/systemd/systemd-rc-once b/projectroot/usr/lib/systemd/systemd-rc-once
index 2b9850d37..e14936e40 100644
--- a/projectroot/usr/lib/systemd/systemd-rc-once
+++ b/projectroot/usr/lib/systemd/systemd-rc-once
@@ -5,7 +5,7 @@
start() {
if ! mount_root_rw; then
- systemctl rescue
+ systemctl --no-block rescue
exit 1
fi
if run_rc_once; then
@@ -25,12 +25,12 @@ umount() {
# remounting rw/ro during the second boot will flush anything
# left in the filesystem journal
ln -sf /etc/rc.once.d /system-update
- systemctl reboot
+ systemctl --no-block reboot
else
if [ -e /system-update ]; then
- systemctl rescue
+ systemctl --no-block rescue
else
- systemctl default
+ systemctl --no-block default
fi
fi
}