From 39172586ac8778d34392ef881dda3eca797239a4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 23 Jul 2025 09:00:09 +0000 Subject: [PATCH] openvpn: Silence when loading the tun module goes wrong Signed-off-by: Michael Tremer --- src/initscripts/system/openvpn-n2n | 2 +- src/initscripts/system/openvpn-rw | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/system/openvpn-n2n b/src/initscripts/system/openvpn-n2n index 4d55f4cbd..985398379 100644 --- a/src/initscripts/system/openvpn-n2n +++ b/src/initscripts/system/openvpn-n2n @@ -252,7 +252,7 @@ start() { fi # Load the tun module - modprobe tun + modprobe tun &>/dev/null boot_mesg "Starting OpenVPN N2N connection '${name}'..." diff --git a/src/initscripts/system/openvpn-rw b/src/initscripts/system/openvpn-rw index 56a62d71c..6359d0d08 100644 --- a/src/initscripts/system/openvpn-rw +++ b/src/initscripts/system/openvpn-rw @@ -35,7 +35,7 @@ case "${1}" in fi # Load the tun module - modprobe tun + modprobe tun &>/dev/null # Flush all firewall rules iptables -F OVPNINPUTRW -- 2.47.3