samples/pktgen: Use bash as interpreter

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>
This commit is contained in:
Ben Hutchings 2015-02-24 02:32:59 +00:00 committed by David S. Miller
parent 06481f22c6
commit db72aba30a
8 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
#modprobe pktgen