From 4a889dd9b4dbe3e50143e6fc3f7bb4b85bc44036 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 Apr 2024 07:42:40 +0300 Subject: [PATCH] sudoers.d/nordvpnd: add restarting of iwd & systemd-networkd --- etc/sudoers.d/nordvpnd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/sudoers.d/nordvpnd b/etc/sudoers.d/nordvpnd index c63a3f03..6d1f6c3f 100644 --- a/etc/sudoers.d/nordvpnd +++ b/etc/sudoers.d/nordvpnd @@ -7,3 +7,6 @@ # used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure # it works %nordvpn ALL=NOPASSWD: /bin/systemctl restart yggdrasil.service +# used in my scripts of disconnecting from nordvpn and restoring IPv6 +%nordvpn ALL=NOPASSWD: /bin/systemctl restart iwd.service +%nordvpn ALL=NOPASSWD: /bin/systemctl restart systemd-networkd.service