From 9c8facc69c09163b74bc428f1dbf8be030766758 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 24 Jun 2021 21:26:19 +0200 Subject: openvpn: T3641: remove deprecated iproute option Executing iproute2 commands as unprivileged member of the openvpn group is now handled via a sudoers file. --- data/templates/openvpn/server.conf.tmpl | 1 - src/system/unpriv-ip | 2 -- 2 files changed, 3 deletions(-) delete mode 100755 src/system/unpriv-ip diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl index 79288e40f..1a2adfdcf 100644 --- a/data/templates/openvpn/server.conf.tmpl +++ b/data/templates/openvpn/server.conf.tmpl @@ -12,7 +12,6 @@ group {{ daemon_group }} dev-type {{ device_type }} dev {{ ifname }} persist-key -iproute /usr/libexec/vyos/system/unpriv-ip {% if protocol == 'tcp-active' %} proto tcp-client {% elif protocol == 'tcp-passive' %} diff --git a/src/system/unpriv-ip b/src/system/unpriv-ip deleted file mode 100755 index 1ea0d626a..000000000 --- a/src/system/unpriv-ip +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -sudo /sbin/ip $* -- cgit v1.2.3