mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
/bin/bash => /usr/bin/env bash to allow freebsd agent work without patching each files
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# (c) 2015, f0o@devilcode.org
|
# (c) 2015, f0o@devilcode.org
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo '<<<dmi>>>'
|
echo '<<<dmi>>>'
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# LibreNMS agent to read HDD/SDD temperature using hddtemp
|
# LibreNMS agent to read HDD/SDD temperature using hddtemp
|
||||||
#
|
#
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#############################################################
|
#############################################################
|
||||||
# - put this file on the nfs server somewhere like /opt/ #
|
# - put this file on the nfs server somewhere like /opt/ #
|
||||||
# - edit your snmpd.conf and add line #
|
# - edit your snmpd.conf and add line #
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# example to output some temperatures
|
# example to output some temperatures
|
||||||
#echo "<<<temperature>>>"
|
#echo "<<<temperature>>>"
|
||||||
#echo "/dev/sda:" `hddtemp /dev/hda -n`
|
#echo "/dev/sda:" `hddtemp /dev/hda -n`
|
||||||
|
Reference in New Issue
Block a user