-
Notifications
You must be signed in to change notification settings - Fork 0
/
module-checker.sh
25 lines (24 loc) · 1.17 KB
/
module-checker.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# Script to check Required Kernel Modules for strongSwan
grep CONFIG_XFRM_USER /boot/config-`uname -r`
grep CONFIG_NET_KEY /boot/config-`uname -r`
grep CONFIG_INET /boot/config-`uname -r`
grep CONFIG_IP_ADVANCED_ROUTER /boot/config-`uname -r`
grep CONFIG_IP_MULTIPLE_TABLES /boot/config-`uname -r`
grep CONFIG_INET_AH /boot/config-`uname -r`
grep CONFIG_INET_ESP /boot/config-`uname -r`
grep CONFIG_INET_IPCOMP /boot/config-`uname -r`
grep CONFIG_INET_XFRM_MODE_TRANSPORT /boot/config-`uname -r`
grep CONFIG_INET_XFRM_MODE_TUNNEL /boot/config-`uname -r`
grep CONFIG_INET_XFRM_MODE_BEET /boot/config-`uname -r`
grep CONFIG_IPV6 /boot/config-`uname -r`
grep CONFIG_INET6_AH /boot/config-`uname -r`
grep CONFIG_INET6_ESP /boot/config-`uname -r`
grep CONFIG_INET6_IPCOMP /boot/config-`uname -r`
grep CONFIG_INET6_XFRM_MODE_TRANSPORT /boot/config-`uname -r`
grep CONFIG_INET6_XFRM_MODE_TUNNEL /boot/config-`uname -r`
grep CONFIG_INET6_XFRM_MODE_BEET /boot/config-`uname -r`
grep CONFIG_IPV6_MULTIPLE_TABLES /boot/config-`uname -r`
grep CONFIG_NETFILTER /boot/config-`uname -r`
grep CONFIG_NETFILTER_XTABLES /boot/config-`uname -r`
grep CONFIG_NETFILTER_XT_MATCH_POLICY /boot/config-`uname -r`