aboutsummaryrefslogtreecommitdiffstats
path: root/community/icinga2/avoid-bash-in-scripts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/icinga2/avoid-bash-in-scripts.patch')
-rw-r--r--community/icinga2/avoid-bash-in-scripts.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/icinga2/avoid-bash-in-scripts.patch b/community/icinga2/avoid-bash-in-scripts.patch
new file mode 100644
index 00000000000..7c9ae4f23e0
--- /dev/null
+++ b/community/icinga2/avoid-bash-in-scripts.patch
@@ -0,0 +1,19 @@
+diff --git a/etc/icinga2/scripts/mail-host-notification.sh b/etc/icinga2/scripts/mail-host-notification.sh
+index 744481a..2a2c011 100755
+--- a/etc/icinga2/scripts/mail-host-notification.sh
++++ b/etc/icinga2/scripts/mail-host-notification.sh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ # Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
+ # Except of function urlencode which is Copyright (C) by Brian White (brian@aljex.com) used under MIT license
+
+diff --git a/etc/icinga2/scripts/mail-service-notification.sh b/etc/icinga2/scripts/mail-service-notification.sh
+index 8e560ac..c901f23 100755
+--- a/etc/icinga2/scripts/mail-service-notification.sh
++++ b/etc/icinga2/scripts/mail-service-notification.sh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ # Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
+ # Except of function urlencode which is Copyright (C) by Brian White (brian@aljex.com) used under MIT license