samples/pktgen: Use bash as interpreter
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Tue, 24 Feb 2015 02:32:59 +0000 (02:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Feb 2015 03:04:10 +0000 (22:04 -0500)
These scripts use the non-POSIX 'function' and 'local' keywords so
they won't work with every /bin/sh.  We could drop 'function' as it is
a no-op, but 'local' makes for cleaner scripts.  Require use of bash.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/pktgen/pktgen.conf-1-1
samples/pktgen/pktgen.conf-1-1-flows
samples/pktgen/pktgen.conf-1-1-ip6
samples/pktgen/pktgen.conf-1-1-ip6-rdos
samples/pktgen/pktgen.conf-1-1-rdos
samples/pktgen/pktgen.conf-1-2
samples/pktgen/pktgen.conf-2-1
samples/pktgen/pktgen.conf-2-2

index e32782e..bb53983 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen
 
index ea859e4..db20ac8 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen
 
index 0a81fd9..e22199d 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen
 
index fc4e345..2834ac7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen
 
index dfea8e6..b519dab 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen
 
index 5d2fe4c..6f57a55 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen
 
index 474f200..aa32252 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 #modprobe pktgen