Skip to content

Commit aa1810f

Browse files
committed
solutions: fix scripts to use /bin/sh
1 parent 64cf903 commit aa1810f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

solutions/flowgraph-down.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
set -x
44

solutions/flowgraph-up.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
set -x
44

55
PIDS=""
66

7-
sudo pkt-gen -i netmap:pipe{1 -f tx -s 10.0.0.1:7000-10.0.0.1:7010 -d 10.0.0.1:8000-10.0.0.1:8004 &> /dev/null &
7+
sudo pkt-gen -i netmap:pipe{1 -f tx -s 10.0.0.1:7000-10.0.0.1:7010 -d 10.0.0.1:8000-10.0.0.1:8004 2>&1 > /dev/null &
88
PIDS="$PIDS $!"
99
sleep 0.5
1010
sudo ./fe -i netmap:pipe}1 -i netmap:pipe{2 -i netmap:pipe{3 -p 8000 -p 8001 &

0 commit comments

Comments
 (0)