summaryrefslogtreecommitdiff
path: root/src/etc/netplug/linkup.d/vyos-python-helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/netplug/linkup.d/vyos-python-helper')
-rwxr-xr-xsrc/etc/netplug/linkup.d/vyos-python-helper4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/netplug/linkup.d/vyos-python-helper b/src/etc/netplug/linkup.d/vyos-python-helper
new file mode 100755
index 000000000..9c59c58ad
--- /dev/null
+++ b/src/etc/netplug/linkup.d/vyos-python-helper
@@ -0,0 +1,4 @@
+#!/bin/sh
+PYTHON3=$(which python3)
+# Call the real python script and forward commandline arguments
+$PYTHON3 /etc/netplug/vyos-netplug-dhcp-client "${@:1}"