update rootfs

This commit is contained in:
wt
2024-08-25 02:40:07 +07:00
parent 0ea96d011c
commit c52cf00e6d
17 changed files with 617 additions and 163 deletions
+10 -1
View File
@@ -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
}
#-------------------------------------------