diff options
-rwxr-xr-x | mdkonline | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -370,11 +370,13 @@ CURRENTKEY=$key ); output_p "/etc/cron.daily/mdkupdate", qq(#!/bin/bash -if [ -f /root/.mdkupdate ]; then /usr/bin/mdkupdate; fi +if [ -f /root/.mdkupdate ]; then /usr/bin/mdkupdate --auto; fi ); +my $date = chomp_(`date`); output_with_perm "/etc/sysconfig/mdkonline", 644, qq(LOGIN=$login BOX=$boxname +LASTCHECK=$date ); chmod 0755, "/etc/cron.daily/mdkupdate"; |