mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
Merge pull request #37 from xbeaudouin/master
Fix some bash scripts to work with FreeBSD
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# (c) 2015, [email protected]
|
||||
# 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
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo '<<<dmi>>>'
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# 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/ #
|
||||
# - edit your snmpd.conf and add line #
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# example to output some temperatures
|
||||
#echo "<<<temperature>>>"
|
||||
#echo "/dev/sda:" `hddtemp /dev/hda -n`
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (C) 2015 Mark Schouten <[email protected]>
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user