rootfs added and auth service in

This commit is contained in:
wt committed 2024-07-03 14:16:25 +07:00
1 parent 35bd73b894
commit 1bea37deb2
113 files changed
+1369 -24

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
Green='\033[0;32m'
Color_Off='\033[0m'
Red='\033[0;31m'
case "$1" in
start)
printf "Setting up sysctl "
sysctl -p &> /dev/null
if [[ "$?" == "0" ]]; then
printf "[$Green OK $Color_Off]\n"
else
printf "[$Red ERR $Color_Off]\n"
fi
;;
stop)
;;
*)
echo "Sysctl init script usage: $0 {start}"
return 1
esac
return $?