Commit db72aba30a4f4c15eb20066f1d9c1bcbcf419236

Authored by Ben Hutchings
Committed by David S. Miller
1 parent 06481f22c6

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>

Showing 8 changed files with 8 additions and 8 deletions Side-by-side Diff

samples/pktgen/pktgen.conf-1-1
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-1-1-flows
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-1-1-ip6
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-1-1-ip6-rdos
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-1-1-rdos
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-1-2
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-2-1
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4  
samples/pktgen/pktgen.conf-2-2
1   -#! /bin/sh
  1 +#!/bin/bash
2 2  
3 3 #modprobe pktgen
4 4