diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-05-31 11:26:58 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2008-05-31 11:26:58 +0000 |
commit | df9ff8be4dbcf02f8b66c61f9aada8d2dfdda883 (patch) | |
tree | 3fe69ef3e2b159464693b883feff5fb13ccbbafc /zshrc | |
parent | 7b16ace5f7a4c8890d34c12bb5e33d51875144fb (diff) |
run dsa cronjob after upgrading
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@354 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -394,7 +394,8 @@ upgrade-debian-hosts() { ssh $i -t ' sudo apt-get update && sudo apt-get dist-upgrade && - sudo apt-get clean; + sudo apt-get clean && + ( ! [ -x /etc/cron.daily/dsa-nagios-nrpe-config ] || sudo /etc/cron.daily/dsa-nagios-nrpe-config ) '; done } |