aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-27 10:53:58 +0300
committerCem Keylan <cem@ckyln.com>2019-12-27 10:53:58 +0300
commit3825c1e10a7c21f7624706bf66a72585bf9e7a84 (patch)
tree79b7df2f85a3569f9fd8eec262abb10ffb850407
parent48d1cd53ed0e50e0be99a2a620ccdddf020d26a0 (diff)
downloadinit-3825c1e10a7c21f7624706bf66a72585bf9e7a84.tar.gz
rc.boot: set variables from rc.conf
-rwxr-xr-xrc.boot4
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.boot b/rc.boot
index b5b8782..5c35229 100755
--- a/rc.boot
+++ b/rc.boot
@@ -1,11 +1,9 @@
#!/bin/sh
-log() { printf '\033[1;36m=>\033[m\033[1m %s\n' "$@" ;}
+. PREFIX/lib/init/rc.conf
welcome() { printf '\033[1;36m=>\033[m\033[1m Welcome to\033[35m Carbs Linux\033[m\033[1m!\n' ;}
-error() { printf '\033[1m\033[31m=> ERROR: %s\033[m\n' "$@" ;}
-
mnt() {
mountpoint -q "$1" || {
dir=$1