Module: check_mk
Branch: master
Commit: e96d24f46b8440e8bba2e7582d499eaf74d11739
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e96d24f46b8440…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Aug 23 15:34:01 2011 +0200
Improved compile heler file .f12
---
web/.f12 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/.f12 b/web/.f12
index e328943..49517ea 100644
--- a/web/.f12
+++ b/web/.f12
@@ -1,5 +1,5 @@
#!/bin/bash
-SITE=${SITE:-dk}
+SITE=${SITE:-$(omd sites --bare | head -n 1)}
C=$(sudo cp -rv * /omd/versions/default/share/check_mk/web/ | wc -l)
echo "$C files copied"
sudo omd restart $SITE apache