aboutsummaryrefslogtreecommitdiff
path: root/rc.lib
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-16 04:19:42 +0300
committerCem Keylan <cem@ckyln.com>2020-05-16 04:19:42 +0300
commit3421a220201a3c7e96de50cc05be940a7d86ad5b (patch)
tree1648937345dd1cf71f11211aee2a9f4bbd4cefdc /rc.lib
parent0a26140bdcb5e6aa19c56237335f06ea8b1989b4 (diff)
downloadinit-3421a220201a3c7e96de50cc05be940a7d86ad5b.tar.gz
init: move mnt function to rc.boot
Diffstat (limited to 'rc.lib')
-rw-r--r--rc.lib8
1 files changed, 0 insertions, 8 deletions
diff --git a/rc.lib b/rc.lib
index e70d7e0..df35731 100644
--- a/rc.lib
+++ b/rc.lib
@@ -11,14 +11,6 @@ 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 ;}
welcome() { printf '\033[1;36m->\033[m\033[1m Welcome to\033[35m %s\033[m\033[1m!\n' "Carbs $(uname -sr)" ;}
-mnt() {
- mountpoint -q "$1" || {
- dir=$1
- shift
- mount "$@" "$dir"
- }
-}
-
emergency_shell() {
error "Cannot continue init due to errors above, starting emergency shell" \
"When ready, type 'exit' to continue the boot."