[2/5] Use bash as shebang in network initscripts
Commit Message
/bin/sh is a symlink to /bin/bash on ipfire systems. Using /bin/sh in
the scripts as shebang hurts in two ways:
1. We use features which do not work with sh as shell. This is not
really a problem but if we rely on features of a real bash we can
state this clearly.
2. The syntay highlighting in vim does not work without a correct
shebang. As I want and need correct syntax highlighting I propose to
change the shebang.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
src/initscripts/networking/any | 2 +-
src/initscripts/networking/functions.network | 2 +-
src/initscripts/networking/red | 2 +-
src/initscripts/networking/red.up/99-pakfire-update | 2 +-
src/initscripts/system/network | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###############################################################################
# #
# IPFire.org - A linux based firewall #
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###############################################################################
# #
# IPFire.org - A linux based firewall #
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###############################################################################
# #
# IPFire.org - A linux based firewall #
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
nice -n 10 /opt/pakfire/pakfire update >/dev/null 2>&1 &
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###############################################################################
# #
# IPFire.org - A linux based firewall #