diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-02-29 23:59:05 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-02-29 23:59:05 +0000 |
commit | fc20e13f2a0c2e71b1a7547ddcfe72e039eba5aa (patch) | |
tree | d4de1c011282e7bd0585d60f238c8ca80c16fd89 /mdkonline | |
parent | ef2ef7af8bc691b15a9cf6b1a11613aae0f6782c (diff) | |
download | mgaonline-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-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"; |