aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-05-22 14:32:54 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-05-22 14:32:54 +0300
commit8936fa72d533d8a55011e4adf5d4802371c8ed90 (patch)
treee33e5c90bbbdb73c4819561684deca532958f6ad
parent4930ad64446cfd4da0b1a0c582ab9cb68e9d836d (diff)
downloaddmvpn-tools-8936fa72d533d8a55011e4adf5d4802371c8ed90.tar.gz
dmvpn-tools-8936fa72d533d8a55011e4adf5d4802371c8ed90.tar.bz2
dmvpn-tools-8936fa72d533d8a55011e4adf5d4802371c8ed90.tar.xz
setup-dmvpn: suppress modprobe error printing
-rwxr-xr-xsetup-dmvpn2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-dmvpn b/setup-dmvpn
index 0e7d9a2..5daea5b 100755
--- a/setup-dmvpn
+++ b/setup-dmvpn
@@ -290,7 +290,7 @@ EOF
awall translate
- if modprobe $GRE_MODULE; then
+ if modprobe $GRE_MODULE 2>/dev/null; then
echo $GRE_MODULE > /etc/modules-load.d/dmvpn.conf
fi