aboutsummaryrefslogtreecommitdiff
path: root/rc.lib
blob: 919883ee5446b6a5bafa9ee44ddad8e520746e47 (plain)
1
2
3
4
5
6
7
8
9
10
# rc.lib -- common functions for rc.boot and rc.shutdown


out() { printf '\033[1;36m-> \033[39m%s\033[m\n' "$@" ;}
err() { printf '\033[1;31m!> \033[39m%s\033[m\n' "$@" ;}

shell() {
    error "Dropping to shell, type 'exit' to continue the boot process."
    sh -l
}