File sysconfig-ifup-tunnel-modprobe.bnc467165.diff of Package sysconfig

--- scripts/ifup-tunnel
+++ scripts/ifup-tunnel	2009-01-20 14:26:53.000000000 +0100
@@ -213,6 +213,7 @@
 	sit)
 		case "$BOOTPROTO" in
 		static|6to4)
+			/sbin/modprobe -q sit
 			iptunnel_add
 			RETVAL=$?
 		;;
@@ -225,6 +226,10 @@
 	gre|ipip)
 		case "$BOOTPROTO" in
 		static)
+			case "$INTERFACETYPE" in
+			#gre)	/sbin/modprobe -q ip_gre ;;
+			ipip)	/sbin/modprobe -q ipip   ;;
+			esac
 			iptunnel_add
 			RETVAL=$?
 		;;
openSUSE Build Service is sponsored by