提交 db72aba3 编写于 作者: B Ben Hutchings 提交者: David S. Miller

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: NBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 06481f22
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
#! /bin/sh
#!/bin/bash
#modprobe pktgen
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册