diff options
-rwxr-xr-x | rc.boot | 3 | ||||
-rw-r--r-- | rc.lib | 1 | ||||
-rwxr-xr-x | rc.shutdown | 2 |
3 files changed, 1 insertions, 5 deletions
@@ -15,9 +15,6 @@ mnt() { mount "$@" "$mnt" } -# Manually set path -PATH=$PATH:/usr/bin:/usr/local/bin - # Display a pretty welcome message printf '\033[1;36m-> \033[39mWelcome to \033[35mCarbs %s\033[39m!\033[m\n' "$(uname -s)" @@ -1,6 +1,7 @@ # rc.lib -- common functions for rc.boot and rc.shutdown # shellcheck disable=1090 +export PATH=$PATH:/usr/local/bin:/usr/bin out() { printf '\033[1;36m-> \033[39m%s\033[m\n' "$@" ;} err() { printf '\033[1;31m!> \033[39m%s\033[m\n' "$@" ;} diff --git a/rc.shutdown b/rc.shutdown index 219e775..292284f 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -4,8 +4,6 @@ . /etc/init/rc.conf . /usr/lib/init/rc.lib -PATH=$PATH:/usr/local/bin:/usr/bin - run_hook pre.shutdown command -v sv >/dev/null && |