summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-02-29 23:59:05 +0000
committerDaouda Lo <daouda@mandriva.com>2004-02-29 23:59:05 +0000
commitfc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa (patch)
treed4de1c011282e7bd0585d60f238c8ca80c16fd89 /mdkonline
parentef2ef7af8bc691b15a9cf6b1a11613aae0f6782c (diff)
downloadmgaonline-fc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa.tar
mgaonline-fc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa.tar.gz
mgaonline-fc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa.tar.bz2
mgaonline-fc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa.tar.xz
mgaonline-fc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa.zip
add dae
Diffstat (limited to 'mdkonline')
-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";