summaryrefslogtreecommitdiff
path: root/configs/boot/natbox-netperf.rcS
diff options
context:
space:
mode:
Diffstat (limited to 'configs/boot/natbox-netperf.rcS')
-rw-r--r--configs/boot/natbox-netperf.rcS4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/boot/natbox-netperf.rcS b/configs/boot/natbox-netperf.rcS
index 32a7371a0..e6384757e 100644
--- a/configs/boot/natbox-netperf.rcS
+++ b/configs/boot/natbox-netperf.rcS
@@ -24,7 +24,7 @@ echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "waiting for netserver..."
-/usr/bin/netcat -c -l -p 8000
+netcat -c -l -p 8000
echo "setting up iptables..."
IPTABLES=/sbin/iptables
@@ -47,7 +47,7 @@ $IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
echo "informing client..."
sleep 5
-echo "server ready" | /usr/bin/netcat -c $CLIENT 8000
+echo "server ready" | netcat -c $CLIENT 8000
echo "starting bash..."
exec /bin/bash