summaryrefslogtreecommitdiff
path: root/samples/pktgen/pktgen.conf-1-1-ip6-rdos
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-02-24 05:32:59 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-24 06:04:10 +0300
commitdb72aba30a4f4c15eb20066f1d9c1bcbcf419236 (patch)
tree2e3e0e243f276389691a1caeb822ba837d62da6d /samples/pktgen/pktgen.conf-1-1-ip6-rdos
parent06481f22c6fa5a85445770d5adceb261cac6620f (diff)
downloadlinux-db72aba30a4f4c15eb20066f1d9c1bcbcf419236.tar.xz
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>
Diffstat (limited to 'samples/pktgen/pktgen.conf-1-1-ip6-rdos')
-rwxr-xr-xsamples/pktgen/pktgen.conf-1-1-ip6-rdos2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
index 21c3b1589fa7..58dd0524f264 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
#modprobe pktgen