aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-09 08:56:21 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-09 08:56:21 -0300
commit91fd669706dd86919fc3c9c62f56b56df5fbabac (patch)
tree8d2cf1ec27142b06dea13be6c575e9ddfc1b63ca
parent4f8d48cf34f9280a3e9a7202bb181358cccdd73f (diff)
parent30de7d8023fbe24af93ca7a7e599abdcc47b7eee (diff)
downloadpfsense-packages-91fd669706dd86919fc3c9c62f56b56df5fbabac.tar.gz
pfsense-packages-91fd669706dd86919fc3c9c62f56b56df5fbabac.tar.bz2
pfsense-packages-91fd669706dd86919fc3c9c62f56b56df5fbabac.zip
Merge pull request #829 from ApolloDS/master
-rw-r--r--config/checkmk-agent/checkmk.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/checkmk-agent/checkmk.inc b/config/checkmk-agent/checkmk.inc
index 056a39eb..def0ae2d 100644
--- a/config/checkmk-agent/checkmk.inc
+++ b/config/checkmk-agent/checkmk.inc
@@ -39,7 +39,7 @@ define('ETC_RC_CONF','/etc/rc.conf.local');
function checkmk_install() {
// Download latest check_mk version from head repo
$checkmk_bin="/usr/local/bin/check_mk_agent";
- mwexec("fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=HEAD'");
+ mwexec("fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=refs/heads/1.2.6'");
chmod($checkmk_bin,0755);
sync_package_checkmk();
}
@@ -69,7 +69,7 @@ function sync_package_checkmk() {
$checkmk_bin="/usr/local/bin/check_mk_agent";
if (!file_exists($checkmk_bin) && $mk_config['checkmkenable']=="on"){
$error = "Check_mk-agent Binary file not found";
- log_error($error." You can manually download it using this cmd: fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=HEAD'");
+ log_error($error." You can manually download it using this cmd: fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=refs/heads/1.2.6'");
file_notice("Check_mk-agent", $error, "checkmk save config", "");
return;
}