diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-12-12 20:26:55 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-12-12 20:26:55 (GMT) |
commit | b97e90ff739fa2f7d27ed5c62ae8436c6ce2bb8d (patch) | |
tree | bc9551882ded56ac8fdb0ea27025fbcc06b1790b /abs/core/LinHES-system/system.install | |
parent | 5f58ea928f87bc20e8bb8102f8ce6272d3d6fc47 (diff) | |
download | linhes_pkgbuild-b97e90ff739fa2f7d27ed5c62ae8436c6ce2bb8d.zip linhes_pkgbuild-b97e90ff739fa2f7d27ed5c62ae8436c6ce2bb8d.tar.gz linhes_pkgbuild-b97e90ff739fa2f7d27ed5c62ae8436c6ce2bb8d.tar.bz2 |
LinHES-system: change myth_mtc.py to run in cron hourly to run more reliably after system is down or is busy.
Diffstat (limited to 'abs/core/LinHES-system/system.install')
-rw-r--r-- | abs/core/LinHES-system/system.install | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/abs/core/LinHES-system/system.install b/abs/core/LinHES-system/system.install index ddad9e3..880ea02 100644 --- a/abs/core/LinHES-system/system.install +++ b/abs/core/LinHES-system/system.install @@ -8,17 +8,11 @@ pre_install() { # arg 1: the new package version post_install() { - MVDIR=/usr/LH/bin - #add myth_mtc to cron list - if [ ! -e /etc/cron.daily/myth_mtc ] - then - ln -s $MVDIR/myth_mtc.sh /etc/cron.daily/myth_mtc + #remove daily myth_mtc link + if [ -h /etc/cron.daily/myth_mtc ]; then + rm -f /etc/cron.daily/myth_mtc fi - # Add db entry for misc status in MythWeb - # not needed in R8 because it's in the DB, may be removed - #/usr/LH/bin/misc_status_config.py - sv restart msg_daemon } |