@cryptotaxi247 / netdata-1 / commits / ee7751c58

Scripts that use bashisms should actually run /bin/bash rather than /bin/sh

Notably, /bin/sh on Debian is generally dash now, not bash.

Matthew Newton committed Apr 1, 2016 at 21:31 UTC ee7751c588f8808876832085468036d955ed38a2
5 files changed +5 -5
charts.d/ap.chart.sh
+1 -1
@@ -1,4 +1,4 @@
1 -#!/bin/sh
1 +#!/bin/bash
2
3 # _update_every is a special variable - it holds the number of seconds
4 # between the calls of the _update() function
charts.d/apache.chart.sh
+1 -1
@@ -1,4 +1,4 @@
1 -#!/bin/sh
1 +#!/bin/bash
2
3 # the URL to download apache status info
4 apache_url="http://127.0.0.1:80/server-status?auto"
charts.d/example.chart.sh
+1 -1
@@ -1,4 +1,4 @@
1 -#!/bin/sh
1 +#!/bin/bash
2
3 # if this chart is called X.chart.sh, then all functions and global variables
4 # must start with X_
charts.d/mysql.chart.sh
+1 -1
@@ -1,4 +1,4 @@
1 -#!/bin/sh
1 +#!/bin/bash
2
3 # http://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html
4 #
charts.d/nginx.chart.sh
+1 -1
@@ -1,4 +1,4 @@
1 -#!/bin/sh
1 +#!/bin/bash
2
3 # if this chart is called X.chart.sh, then all functions and global variables
4 # must start with X_