forked from pool/strongswan
29 lines
840 B
Plaintext
29 lines
840 B
Plaintext
|
--- src/starter/netkey.c
|
||
|
+++ src/starter/netkey.c 2007/12/06 09:05:30
|
||
|
@@ -36,7 +36,7 @@ starter_netkey_init(void)
|
||
|
/* af_key module makes the netkey proc interface visible */
|
||
|
if (stat(PROC_MODULES, &stb) == 0)
|
||
|
{
|
||
|
- system("modprobe -qv af_key");
|
||
|
+ system("modprobe -s af_key");
|
||
|
}
|
||
|
|
||
|
/* now test again */
|
||
|
@@ -52,11 +52,11 @@ starter_netkey_init(void)
|
||
|
/* make sure that all required IPsec modules are loaded */
|
||
|
if (stat(PROC_MODULES, &stb) == 0)
|
||
|
{
|
||
|
- system("modprobe -qv ah4");
|
||
|
- system("modprobe -qv esp4");
|
||
|
- system("modprobe -qv ipcomp");
|
||
|
- system("modprobe -qv xfrm4_tunnel");
|
||
|
- system("modprobe -qv xfrm_user");
|
||
|
+ system("modprobe -s ah4");
|
||
|
+ system("modprobe -s esp4");
|
||
|
+ system("modprobe -s ipcomp");
|
||
|
+ system("modprobe -s xfrm4_tunnel");
|
||
|
+ system("modprobe -s xfrm_user");
|
||
|
}
|
||
|
|
||
|
DBG(DBG_CONTROL,
|