summaryrefslogtreecommitdiff
path: root/configs/boot/natbox-spec-surge.rcS
diff options
context:
space:
mode:
Diffstat (limited to 'configs/boot/natbox-spec-surge.rcS')
-rw-r--r--configs/boot/natbox-spec-surge.rcS4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/boot/natbox-spec-surge.rcS b/configs/boot/natbox-spec-surge.rcS
index 8b84b1a35..4346a6229 100644
--- a/configs/boot/natbox-spec-surge.rcS
+++ b/configs/boot/natbox-spec-surge.rcS
@@ -27,7 +27,7 @@ echo "1" > /proc/sys/net/ipv4/ip_forward
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "waiting for netserver..."
-/usr/bin/netcat -c -l -p 8000
+netcat -c -l -p 8000
echo "setting up iptables..."
IPTABLES=/sbin/iptables
@@ -50,7 +50,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