From 956f10584a109456c1bb8c72c9a4e02494812c03 Mon Sep 17 00:00:00 2001 From: lgq <1015864684@qq.com> Date: 星期二, 18 十一月 2025 15:13:21 +0800 Subject: [PATCH] 1.修改启动脚本,增加crond启动相关的目录配置 --- local/init.sh | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/local/init.sh b/local/init.sh index ed5543d..9b57ca3 100755 --- a/local/init.sh +++ b/local/init.sh @@ -47,7 +47,6 @@ then sh $startScript & fi - #---------------------------------------------------- echo "set eth ..." /usr/sbin/set_net @@ -58,6 +57,9 @@ #---------------------------------------------------- #鍚姩crontab鏈嶅姟 +rm /var/spool +ln -s /usr/local/spool /var/spool + /usr/sbin/crond #sys off time @@ -80,6 +82,6 @@ pontime=`date '+%Y/%m/%d %H:%M:%S: '` echo "$pontime 绯荤粺寮�鏈�" >> $powerLog -$monitor & +sh $monitor & $checkRoute & -buzzer 1 10 +buzzer 1 100 -- Gitblit v1.9.3