1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

添加风扇启动

This commit is contained in:
suyuan 2023-06-24 17:56:34 +08:00
parent 47fe97caf6
commit b8ef4e19ad
4 changed files with 19 additions and 220 deletions

View file

@ -150,6 +150,7 @@ fi
#fi
if [ ! -f /etc/crontabs/root ] || [ "$(cat /etc/crontabs/root | grep bypass)" = "" ]; then
echo "0 2 * * * /etc/init.d/omr-bypass bypass_asn" >> /etc/crontabs/root
echo "*/1 * * * * /etc/init.d/fengshan restart" >> /etc/crontabs/root
fi
rm -f /tmp/luci-indexcache
exit 0