diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-16 04:26:42 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-16 04:26:42 +0300 |
commit | c14e862fca1c53620fd28465c6292bdcaadf22ab (patch) | |
tree | f7017f97311f596c5bce3317ddef4770c337ad96 /rc.boot | |
parent | 40053f90c54d26141f4e9aeae2fe8a93d80693c2 (diff) | |
download | init-c14e862fca1c53620fd28465c6292bdcaadf22ab.tar.gz |
init: change emergency-shell to shell, minor changes
Diffstat (limited to 'rc.boot')
-rwxr-xr-x | rc.boot | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -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..."; { |