summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkonline4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdkonline b/mdkonline
index 1f02564b..ed89e8e4 100755
--- a/mdkonline
+++ b/mdkonline
@@ -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";