aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/cFW/sink/wrapper_v_sink_init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/cFW/sink/wrapper_v_sink_init.sh')
-rw-r--r--kud/tests/cFW/sink/wrapper_v_sink_init.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/kud/tests/cFW/sink/wrapper_v_sink_init.sh b/kud/tests/cFW/sink/wrapper_v_sink_init.sh
new file mode 100644
index 00000000..e3a3e35e
--- /dev/null
+++ b/kud/tests/cFW/sink/wrapper_v_sink_init.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+mkdir -p /opt/config/
+echo "$protected_net_gw" > /opt/config/protected_net_gw.txt
+echo "$protected_private_net_cidr" > /opt/config/unprotected_net.txt
+
+# NOTE: this script executes $ route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.20.100
+# which results in this error if doesn't have all nics required -> SIOCADDRT: File exists
+./v_sink_init.sh
+sleep infinity