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 9deb39f..bf9b122 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