1 diff -ruN strongswan-2.8.1-orig/programs/starter/klips.c strongswan-2.8.1/programs/starter/klips.c
2 --- strongswan-2.8.1-orig/programs/starter/klips.c 2006-02-15 13:33:57.000000000 -0500
3 +++ strongswan-2.8.1/programs/starter/klips.c 2007-01-16 23:57:19.107972109 -0500
6 unsetenv("MODULECONF");
7 system("depmod -a >/dev/null 2>&1");
8 - system("modprobe -qv ipsec");
9 + system("insmod -qv ipsec");
11 if (stat(PROC_IPSECVERSION, &stb) == 0)
14 /* make sure that all available crypto algorithms are loaded */
15 if (stat(PROC_MODULES, &stb) == 0)
17 - system("modprobe -qv ipsec_aes");
18 - system("modprobe -qv ipsec_serpent");
19 - system("modprobe -qv ipsec_twofish");
20 - system("modprobe -qv ipsec_blowfish");
21 - system("modprobe -qv ipsec_sha2");
22 + system("insmod -qv ipsec_aes");
23 + system("insmod -qv ipsec_serpent");
24 + system("insmod -qv ipsec_twofish");
25 + system("insmod -qv ipsec_blowfish");
26 + system("insmod -qv ipsec_sha2");
29 starter_klips_clear();
30 diff -ruN strongswan-2.8.1-orig/programs/starter/netkey.c strongswan-2.8.1/programs/starter/netkey.c
31 --- strongswan-2.8.1-orig/programs/starter/netkey.c 2006-02-15 13:33:57.000000000 -0500
32 +++ strongswan-2.8.1/programs/starter/netkey.c 2007-01-16 23:57:28.094204186 -0500
34 /* af_key module makes the netkey proc interface visible */
35 if (stat(PROC_MODULES, &stb) == 0)
37 - system("modprobe -qv af_key");
38 + system("insmod -qv af_key");
43 /* make sure that all required IPsec modules are loaded */
44 if (stat(PROC_MODULES, &stb) == 0)
46 - system("modprobe -qv ah4");
47 - system("modprobe -qv esp4");
48 - system("modprobe -qv ipcomp");
49 - system("modprobe -qv xfrm4_tunnel");
50 - system("modprobe -qv xfrm_user");
51 + system("insmod -qv ah4");
52 + system("insmod -qv esp4");
53 + system("insmod -qv ipcomp");
54 + system("insmod -qv xfrm4_tunnel");
55 + system("insmod -qv xfrm_user");
59 diff -ruN strongswan-2.8.1-orig/programs/_startklips/_startklips.in strongswan-2.8.1/programs/_startklips/_startklips.in
60 --- strongswan-2.8.1-orig/programs/_startklips/_startklips.in 2005-05-06 18:11:33.000000000 -0400
61 +++ strongswan-2.8.1/programs/_startklips/_startklips.in 2007-01-17 00:04:11.189627735 -0500
64 if test ! -f $ipsecversion && test ! -f $netkey
78 - modprobe -qv xfrm4_tunnel
79 - modprobe -qv xfrm_user
83 + insmod -qv xfrm4_tunnel
84 + insmod -qv xfrm_user
90 unset MODPATH MODULECONF # no user overrides!
91 depmod -a >/dev/null 2>&1
95 if test ! -f $ipsecversion
99 if test -f $moduleinstplace/alg/ipsec_$alg.o
101 - modprobe ipsec_$alg