$a
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
CONFIG_NF_NAT_PROTO_UDPLITE=m
CONFIG_NF_NAT_PROTO_SCTP=m
CONFIG_NF_NAT_AMANDA=m
CONFIG_NF_NAT_FTP=m
CONFIG_NF_NAT_IRC=m
CONFIG_NF_NAT_SIP=m
CONFIG_NF_NAT_TFTP=m
.
$a
CONFIG_NETFILTER_XT_NAT=m
CONFIG_NETFILTER_XT_TARGET_NETMAP=m
CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
.
/^# CONFIG_NF_NAT_IPV4 is not set$/c
CONFIG_NF_NAT_IPV4=m
CONFIG_NF_NAT_MASQUERADE_IPV4=m
CONFIG_NF_NAT_PROTO_GRE=m
CONFIG_NF_NAT_PPTP=m
CONFIG_NF_NAT_H323=m
.
/^# CONFIG_IP_NF_NAT is not set$/c
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_REDIRECT=m
.
/^# CONFIG_DUMMY is not set$/c
CONFIG_DUMMY=m
.
/^CONFIG_USB_XHCI_HCD=m$/c
# CONFIG_USB_XHCI_HCD is not set
.
/^CONFIG_USB_XHCI_PCI=m$/d
/^CONFIG_BUILD_DOCSRC=/c
# CONFIG_BUILD_DOCSRC is not set
.
w