diff options
author | Matteo Croce <mcroce@redhat.com> | 2018-04-09 23:59:22 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2018-05-17 14:42:21 +0200 |
commit | fd269fff7f638b40372fb1cecbf2b74fcb2d079a (patch) | |
tree | b8c8310b8d5ab5c41437739b0b9c45e5566e8070 | |
parent | 48fed04b81a59c4610dbbfc7db09ec0eec8ecbe9 (diff) | |
download | initscripts-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-x | service | 2 | ||||
-rw-r--r-- | sys-unconfig | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifdown-sit | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-ipv6 | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/init.ipv6-global | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -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 # |