update orders and added crond.service #3

Merged
wt merged 1 commits from crond into main 2025-07-25 09:16:33 +00:00
2 changed files with 46 additions and 12 deletions

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
#!/bin/sh
#--- import colors and init-funcs ---
. /usr/lib/init/colors.sh
. /usr/lib/init/init-funcs.sh
#------------------------------------
CROND_OPTS=""
start() {
notify "Starting crond"
/usr/bin/crond $CROND_OPTS
check $? "start crond"
return $?
}
stop() {
notify "Stopping crond"
kill $(cat /var/run/crond.pid)
check $? "stop crond"
rm /var/run/crond.pid &> /dev/null
return $?
}
case "$1" in
start|stop|restart|reload|help)
"$1"
;;
*)
help
return 1
esac
return $?
+13 -12
View File
@@ -4,15 +4,16 @@
04swap 04swap
05networking 05networking
06sysctl 06sysctl
07dnsmasq 07crond
08dnsd 08dnsmasq
09telnetd 09dnsd
10sshd 10telnetd
11iptables 11sshd
12ftpd 12iptables
13hostapd 13ftpd
14httpd 14hostapd
15nginx 15httpd
16openrouterinit 16nginx
17dropbear 17openrouterinit
18gitea 18dropbear
19gitea