Skip to content

Commit

Permalink
samples/pktgen: Use bash as interpreter
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
bwh-ct authored and davem330 committed Feb 24, 2015
1 parent 06481f2 commit db72aba
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-flows
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-ip6
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-ip6-rdos
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-1-rdos
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-1-2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-2-1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down
2 changes: 1 addition & 1 deletion samples/pktgen/pktgen.conf-2-2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash

#modprobe pktgen

Expand Down

0 comments on commit db72aba

Please sign in to comment.