Module: check_mk
Branch: master
Commit: addbeab97746f1dd4ca3a712b363efef985306cb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=addbeab97746f1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jun 4 16:54:16 2014 +0200
Fixed .f12 in checkman directory
---
checkman/.f12 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/checkman/.f12 b/checkman/.f12
index cff63d9..05632be 100644
--- a/checkman/.f12
+++ b/checkman/.f12
@@ -1,3 +1,5 @@
+#!/bin/bash
+SITE=${SITE:-$(cat ../.site 2>/dev/null || true)}
SITE=${SITE:-$(omd sites --bare | head -n 1)}
sudo rsync -var --delete ./ /omd/sites/$SITE/share/check_mk/checkman/
sudo rm -f /omd/sites/$SITE/share/check_mk/checkman/.f12