aboutsummaryrefslogtreecommitdiff
path: root/rc.boot
diff options
context:
space:
mode:
Diffstat (limited to 'rc.boot')
-rwxr-xr-xrc.boot17
1 files changed, 8 insertions, 9 deletions
diff --git a/rc.boot b/rc.boot
index 66ad355..b9e7e14 100755
--- a/rc.boot
+++ b/rc.boot
@@ -54,28 +54,27 @@ command -v udevd >/dev/null && {
udevadm settle
}
-out "Remounting rootfs as ro..."; {
- mount -o remount,ro / || emergency_shell
-}
-
+out "Remounting rootfs as read-only..."; {
+ mount -o remount,ro / || shell
}
out "Checking filesystems..."; {
fsck -ATat noopts=_netdev
- [ $? -gt 1 ] && emergency_shell
+ [ $? -gt 1 ] && shell
}
-out "Mounting rootfs rw..."; {
- mount -o remount,rw / || emergency_shell
+out "Mounting rootfs read-write..."; {
+ mount -o remount,rw / || shell
}
out "Mounting all local filesystems..."; {
mount -at nosysfs,nonfs,nonfs4,nosmbfs,nocifs -O no_netdev ||
- emergency_shell
+ shell
+}
}
out "Enabling swap..."; {
- swapon -a || emergency_shell
+ swapon -a || shell
}
out "Seeding random..."; {