update scripts

This commit is contained in:
wt committed 2024-11-01 14:15:42 +07:00
1 parent 95e2551110
commit 4a8ea1b190
17 files changed
+381 -126

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
#!/bin/sh
#--- import colors and init-funcs ---
. /usr/lib/init/colors.sh
. /usr/lib/init/init-funcs.sh
#------------------------------------
start() {
notify "Setting up sysctl"
sysctl -p & /dev/null
check $? "setting up sysctl"
return $?
}
stop() {
return
}
case "$1" in
start|stop|restart|reload|help)
"$1"
;;
*)
help
;;
esac
return $?