1 Index: strongswan-2.8.2/programs/starter/klips.c
2 ===================================================================
3 --- strongswan-2.8.2.orig/programs/starter/klips.c 2007-06-04 13:23:04.544043096 +0200
4 +++ strongswan-2.8.2/programs/starter/klips.c 2007-06-04 13:23:07.238633456 +0200
7 unsetenv("MODULECONF");
8 system("depmod -a >/dev/null 2>&1");
9 - system("modprobe -qv ipsec");
10 + system("insmod -qv ipsec");
12 if (stat(PROC_IPSECVERSION, &stb) == 0)
15 /* make sure that all available crypto algorithms are loaded */
16 if (stat(PROC_MODULES, &stb) == 0)
18 - system("modprobe -qv ipsec_aes");
19 - system("modprobe -qv ipsec_serpent");
20 - system("modprobe -qv ipsec_twofish");
21 - system("modprobe -qv ipsec_blowfish");
22 - system("modprobe -qv ipsec_sha2");
23 + system("insmod -qv ipsec_aes");
24 + system("insmod -qv ipsec_serpent");
25 + system("insmod -qv ipsec_twofish");
26 + system("insmod -qv ipsec_blowfish");
27 + system("insmod -qv ipsec_sha2");
30 starter_klips_clear();
31 Index: strongswan-2.8.2/programs/starter/netkey.c
32 ===================================================================
33 --- strongswan-2.8.2.orig/programs/starter/netkey.c 2007-06-04 13:23:04.551042032 +0200
34 +++ strongswan-2.8.2/programs/starter/netkey.c 2007-06-04 13:23:07.238633456 +0200
36 /* af_key module makes the netkey proc interface visible */
37 if (stat(PROC_MODULES, &stb) == 0)
39 - system("modprobe -qv af_key");
40 + system("insmod -qv af_key");
45 /* make sure that all required IPsec modules are loaded */
46 if (stat(PROC_MODULES, &stb) == 0)
48 - system("modprobe -qv ah4");
49 - system("modprobe -qv esp4");
50 - system("modprobe -qv ipcomp");
51 - system("modprobe -qv xfrm4_tunnel");
52 - system("modprobe -qv xfrm_user");
53 + system("insmod -qv ah4");
54 + system("insmod -qv esp4");
55 + system("insmod -qv ipcomp");
56 + system("insmod -qv xfrm4_tunnel");
57 + system("insmod -qv xfrm_user");
61 Index: strongswan-2.8.2/programs/_startklips/_startklips.in
62 ===================================================================
63 --- strongswan-2.8.2.orig/programs/_startklips/_startklips.in 2007-06-04 13:23:04.560040664 +0200
64 +++ strongswan-2.8.2/programs/_startklips/_startklips.in 2007-06-04 13:23:07.238633456 +0200
67 if test ! -f $ipsecversion && test ! -f $netkey
81 - modprobe -qv xfrm4_tunnel
82 - modprobe -qv xfrm_user
86 + insmod -qv xfrm4_tunnel
87 + insmod -qv xfrm_user
93 unset MODPATH MODULECONF # no user overrides!
94 depmod -a >/dev/null 2>&1
98 if test ! -f $ipsecversion
102 if test -f $moduleinstplace/alg/ipsec_$alg.o
104 - modprobe ipsec_$alg