mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Update Shebangs and daily.sh for FreeBSD compatibility (#6413)
* Where shebangs had no flags, updated them to use /usr/bin/env for cross-platform compatibility Updated daily.sh to support FreeBSD (su has different args, replaced with sudo when not on linux) * Added myself to AUTHORD.md as per contributor guidelines * Set all platforms to use sudo rather than su Re-added missing arguments to sudo
This commit is contained in:
committed by
Tony Murray
parent
0b2f5cddd2
commit
2186e3b79a
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Observium to LibreNMS conversion
|
||||
|
||||
####################### SCRIPT DESCRIPTION ########################
|
||||
@@ -50,4 +50,4 @@ while read line;
|
||||
done < $NODELIST
|
||||
|
||||
# This line SSHs to LibreNMS server and runs the destwork script to finish conversion
|
||||
ssh root@$DEST 'bash -s' < $DESTSCRIPT
|
||||
ssh root@$DEST 'bash -s' < $DESTSCRIPT
|
||||
|
||||
Reference in New Issue
Block a user