From 760f9de567a2876b0ad793979754661946b92c5c Mon Sep 17 00:00:00 2001 From: "xavier.beaudouin" Date: Fri, 29 Jul 2016 13:23:20 +0200 Subject: [PATCH] /bin/bash => /usr/bin/env bash to allow freebsd agent work without patching each files --- agent-local/bind | 2 +- agent-local/dmi | 2 +- agent-local/hddtemp | 2 +- agent-local/nfsstats | 2 +- agent-local/temperature | 2 +- mk_enplug | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/agent-local/bind b/agent-local/bind index 75110d9..ed294e3 100755 --- a/agent-local/bind +++ b/agent-local/bind @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # (c) 2015, f0o@devilcode.org # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/agent-local/dmi b/agent-local/dmi index 58ec197..d14012f 100755 --- a/agent-local/dmi +++ b/agent-local/dmi @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo '<<>>' diff --git a/agent-local/hddtemp b/agent-local/hddtemp index 28d3724..eec0579 100755 --- a/agent-local/hddtemp +++ b/agent-local/hddtemp @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # LibreNMS agent to read HDD/SDD temperature using hddtemp # diff --git a/agent-local/nfsstats b/agent-local/nfsstats index dc8cf02..02a834c 100755 --- a/agent-local/nfsstats +++ b/agent-local/nfsstats @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ############################################################# # - put this file on the nfs server somewhere like /opt/ # # - edit your snmpd.conf and add line # diff --git a/agent-local/temperature b/agent-local/temperature index d005897..8b1752f 100755 --- a/agent-local/temperature +++ b/agent-local/temperature @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # example to output some temperatures #echo "<<>>" #echo "/dev/sda:" `hddtemp /dev/hda -n` diff --git a/mk_enplug b/mk_enplug index db524ec..5abecb7 100755 --- a/mk_enplug +++ b/mk_enplug @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2015 Mark Schouten #