aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2018-04-09 23:59:22 +0200
committerDee'Kej <deekej@linuxmail.org>2018-05-17 14:42:21 +0200
commitfd269fff7f638b40372fb1cecbf2b74fcb2d079a (patch)
treeb8c8310b8d5ab5c41437739b0b9c45e5566e8070
parent48fed04b81a59c4610dbbfc7db09ec0eec8ecbe9 (diff)
downloadinitscripts-fd269fff7f638b40372fb1cecbf2b74fcb2d079a.tar
initscripts-fd269fff7f638b40372fb1cecbf2b74fcb2d079a.tar.gz
initscripts-fd269fff7f638b40372fb1cecbf2b74fcb2d079a.tar.bz2
initscripts-fd269fff7f638b40372fb1cecbf2b74fcb2d079a.tar.xz
initscripts-fd269fff7f638b40372fb1cecbf2b74fcb2d079a.zip
use proper shebang
$" is a BASH extension to translate text. Replace the shebang with /bin/bash to avoid parsing errors, as even BASH has a POSIX compliant mode when run as sh. Signed-off-by: Matteo Croce <mcroce@redhat.com>
-rwxr-xr-xservice2
-rw-r--r--sys-unconfig2
-rwxr-xr-xsysconfig/network-scripts/ifdown-sit2
-rwxr-xr-xsysconfig/network-scripts/ifup-ipv62
-rwxr-xr-xsysconfig/network-scripts/init.ipv6-global2
5 files changed, 5 insertions, 5 deletions
diff --git a/service b/service
index 357c2a69..31d8f3e1 100755
--- a/service
+++ b/service
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. /etc/init.d/functions
diff --git a/sys-unconfig b/sys-unconfig
index 8eb8d894..b5f4d78c 100644
--- a/sys-unconfig
+++ b/sys-unconfig
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
. /etc/init.d/functions
diff --git a/sysconfig/network-scripts/ifdown-sit b/sysconfig/network-scripts/ifdown-sit
index 37d100e6..4a9335a5 100755
--- a/sysconfig/network-scripts/ifdown-sit
+++ b/sysconfig/network-scripts/ifdown-sit
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# ifdown-sit
#
diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6
index 34b0cbee..ecbe5b79 100755
--- a/sysconfig/network-scripts/ifup-ipv6
+++ b/sysconfig/network-scripts/ifup-ipv6
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# ifup-ipv6
#
diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global
index 8ec1d992..b20ff72e 100755
--- a/sysconfig/network-scripts/init.ipv6-global
+++ b/sysconfig/network-scripts/init.ipv6-global
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# init.ipv6-global
#