Skip to content

Commit

Permalink
Update install-ubuntu24.04.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Aug 26, 2024
1 parent 4a8dc43 commit 0f10e83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion trunk/install/install-ubuntu24.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@ fi
if grep "bak.sh" /var/spool/cron/crontabs/root ; then
echo "auto backup added!"
else
crontab -l > conf && echo "1 0 * * * /home/judge/src/install/bak.sh" >> conf && crontab conf && rm -f conf
crontab -l > conf
echo "1 0 * * * /home/judge/src/install/bak.sh" >> conf
echo "0 * * * * /home/judge/src/install/oomsaver.sh" >> conf
crontab conf
rm -f conf
/etc/init.d/cron reload
fi
ln -s /usr/bin/mcs /usr/bin/gmcs
Expand Down

0 comments on commit 0f10e83

Please sign in to comment.