resource-agents/fix-non-executable-script-errors.patch
2016-02-08 17:04:03 +01:00

20 lines
810 B
Diff

diff -uNr a/heartbeat/findif.sh b/heartbeat/findif.sh
--- a/heartbeat/findif.sh 2016-02-03 11:57:55.000000000 +0100
+++ b/heartbeat/findif.sh 2016-02-08 16:55:32.155404148 +0100
@@ -1,4 +1,3 @@
-#!/bin/sh
ipcheck_ipv4() {
local r1_to_255="([1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-5])"
local r0_to_255="([0-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-5])"
diff -uNr a/heartbeat/mysql-common.sh b/heartbeat/mysql-common.sh
--- a/heartbeat/mysql-common.sh 2016-02-03 11:57:55.000000000 +0100
+++ b/heartbeat/mysql-common.sh 2016-02-08 16:55:01.619815789 +0100
@@ -1,7 +1,3 @@
-#!/bin/sh
-
-#######################################################################
-
# Attempt to detect a default binary
OCF_RESKEY_binary_default=$(which mysqld_safe 2> /dev/null)
if [ "$OCF_RESKEY_binary_default" = "" ]; then