diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-16 19:51:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 19:51:12 +0200 |
commit | 65ea7cef9fe922581e286bc539c4dc1e223c9d32 (patch) | |
tree | c58c9f3392fb3289b36eeff15fb80cbdb0af52a9 /src/etc/netplug/linkup.d/vyos-python-helper | |
parent | 9cdc76fe5badcf44cf38ea82ed89332b32d9d62b (diff) | |
parent | 1ab8166a5481c184ded9abf8da48dd0d391c8ae3 (diff) | |
download | vyos-1x-65ea7cef9fe922581e286bc539c4dc1e223c9d32.tar.gz vyos-1x-65ea7cef9fe922581e286bc539c4dc1e223c9d32.zip |
Merge pull request #2151 from c-po/netplug-t5476
netplug: T5476: rewrite dhclient helper from Perl -> Python
Diffstat (limited to 'src/etc/netplug/linkup.d/vyos-python-helper')
-rwxr-xr-x | src/etc/netplug/linkup.d/vyos-python-helper | 4 |
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}" |