summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gmail.com>2010-11-28 17:48:21 +0300
committerAndrew Savchenko <bircoph@gmail.com>2010-11-28 17:48:21 +0300
commite192e14427c335d02b9564fa7bbcf984c6e01f7f (patch)
tree949a6612fc8c4bad7f0fd973bbcbff2cc7277a72 /net-dialup/openl2tp
parentopenl2tp: Fix restart call (diff)
downloadbircoph-e192e14427c335d02b9564fa7bbcf984c6e01f7f.tar.gz
bircoph-e192e14427c335d02b9564fa7bbcf984c6e01f7f.tar.bz2
bircoph-e192e14427c335d02b9564fa7bbcf984c6e01f7f.zip
openl2tp: Silence both module probes
Diffstat (limited to 'net-dialup/openl2tp')
-rw-r--r--net-dialup/openl2tp/files/openl2tpd.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-dialup/openl2tp/files/openl2tpd.initd b/net-dialup/openl2tp/files/openl2tpd.initd
index 9db5a4f..4970179 100644
--- a/net-dialup/openl2tp/files/openl2tpd.initd
+++ b/net-dialup/openl2tp/files/openl2tpd.initd
@@ -19,7 +19,7 @@ check_module () {
if ! [[ -f /proc/net/pppol2tp ]]; then
ebegin "Loading l2tp module"
# try both new and old module names
- modprobe l2tp_ppp 2>/dev/null || modprobe pppol2tp
+ modprobe l2tp_ppp 2>/dev/null || modprobe pppol2tp 2>/dev/null
eend $?
fi
}