[omd-commits] OMD Git: omd: New aliases cmk and mkp for check_mk

git version control git at mathias-kettner.de
Fri Dec 17 07:45:58 CET 2010


Module: omd
Branch: master
Commit: 5307c6565c9beb01a5f1293acc4e7ec436923f0f
URL:    http://omdistro.org/projects/omd/repository/revisions/5307c6565c9beb01a5f1293acc4e7ec436923f0f

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Fri Dec 17 07:45:48 2010 +0100

New aliases cmk and mkp for check_mk

---

 packages/check_mk/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/packages/check_mk/Makefile b/packages/check_mk/Makefile
index 390803e..f3d54b0 100644
--- a/packages/check_mk/Makefile
+++ b/packages/check_mk/Makefile
@@ -54,6 +54,9 @@ install:
 
 	# Install special version of check_mk dealing with site specific defaults
 	install -m 755 check_mk $(DESTDIR)$(OMD_ROOT)/bin
+	ln -sfn check_mk $(DESTDIR)$(OMD_ROOT)/bin/cmk
+	echo -e '#!/bin/sh\nexec check_mk -P "$@"' > $(DESTDIR)$(OMD_ROOT)/bin/mkp
+	chmod 755 $(DESTDIR)$(OMD_ROOT)/bin/mkp
 	install -m 755 lq       $(DESTDIR)$(OMD_ROOT)/bin
 
 	# defaults.py for Multisite which redirects to site specific defaults



More information about the omd-commits mailing list