]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
If ~buildd.bootscript is executeable, run it instead of running buildd-watcher on...
authorPeter Palfrader <peter@palfrader.org>
Mon, 23 Nov 2009 19:39:29 +0000 (20:39 +0100)
committerPeter Palfrader <peter@palfrader.org>
Mon, 23 Nov 2009 19:39:29 +0000 (20:39 +0100)
modules/buildd/files/cron.d-dsa-buildd

index 9deb39f32a02586155389ab4dc41bc4ed40d7f80..bf9b12287fca145dbde11ff599360f834d898f1f 100644 (file)
@@ -1 +1 @@
-@reboot buildd [ -f ~buildd/NO-DAEMON-PLEASE ] && grep 'delete-on-boot' ~buildd/NO-DAEMON-PLEASE > /dev/null && rm -f ~buildd/NO-DAEMON-PLEASE && buildd-watcher
+@reboot buildd [ -f ~buildd/NO-DAEMON-PLEASE ] && grep 'delete-on-boot' ~buildd/NO-DAEMON-PLEASE > /dev/null && rm -f ~buildd/NO-DAEMON-PLEASE && if [ -x ~buildd/.bootscript ]; then ~buildd/.bootscript; else buildd-watcher; fi