aboutsummaryrefslogtreecommitdiff
path: root/rc.lib
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-16 04:26:42 +0300
committerCem Keylan <cem@ckyln.com>2020-05-16 04:26:42 +0300
commitc14e862fca1c53620fd28465c6292bdcaadf22ab (patch)
treef7017f97311f596c5bce3317ddef4770c337ad96 /rc.lib
parent40053f90c54d26141f4e9aeae2fe8a93d80693c2 (diff)
downloadinit-c14e862fca1c53620fd28465c6292bdcaadf22ab.tar.gz
init: change emergency-shell to shell, minor changes
Diffstat (limited to 'rc.lib')
-rw-r--r--rc.lib8
1 files changed, 3 insertions, 5 deletions
diff --git a/rc.lib b/rc.lib
index 1843304..c95d55a 100644
--- a/rc.lib
+++ b/rc.lib
@@ -7,11 +7,9 @@
out() { printf '\033[1;36m-> \033[m\033[1m%s\033[m\n' "$@" ;}
error() { printf '\033[1;31m!> ERROR: \033[m\033[1m%s\033[m\n' "$@" >&2 ;}
-emergency_shell() {
- error "Cannot continue init due to errors above, starting emergency shell" \
- "When ready, type 'exit' to continue the boot."
-
- /bin/sh -l
+shell() {
+ error "Dropping to shell, type 'exit' to continue the boot process."
+ sh -l
}
}