update rootfs
This commit is contained in:
+10
-1
@@ -12,4 +12,13 @@ check() {
|
||||
fi
|
||||
printf "$UGREEN** SUCCESS: $2\n$RESET"
|
||||
}
|
||||
#-------------------------------------------
|
||||
#-------------------------------------------
|
||||
|
||||
#------- Check root func -------------------
|
||||
check_root() {
|
||||
if [ $(id -u) -ne 0 ]; then
|
||||
printf "$URED** You are not root\n$RESET"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
#-------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user