From 0faa243f8e14fa77f9f982aba46c337bc4c80787 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 1 Jul 2012 12:59:32 +0000 Subject: [PATCH] xl2tpd: remove module loading from init script Remove module loading from xl2tpd init-script now that module gets loaded properly during boot (since that was already fixed in #32562, this partly reverts #32563) Signed-off-by: Daniel Golle git-svn-id: svn://svn.openwrt.org/openwrt/packages@32574 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/xl2tpd/files/xl2tpd.init | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/net/xl2tpd/files/xl2tpd.init b/net/xl2tpd/files/xl2tpd.init index bdee61547..22e845901 100644 --- a/net/xl2tpd/files/xl2tpd.init +++ b/net/xl2tpd/files/xl2tpd.init @@ -8,16 +8,6 @@ RUN_D=/var/run PID_F=$RUN_D/$BIN.pid start() { - # make sure kernel modules are loaded before starting xl2tpd, otherwise - # kernel-mode l2tp support won't work - local load - for module in slhc ppp_generic ppp_async pppox l2tp_core l2tp_netlink l2tp_ppp ; do - grep -q "$module" /proc/modules && continue - /sbin/insmod $module 2>&- >&- - load=1 - done - [ "$load" = "1" ] && sleep 1 - mkdir -p $RUN_D/$BIN [ -f $DEFAULT ] && . $DEFAULT $BIN $OPTIONS -- 2.11.0