Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
echo -n "Vlan: " && is_enabled CONFIG_VLAN_8021Q
KVER_MINOR=$($GREP '^# Linux kernel version:' $CONFIG | \
sed -r 's/.*2.6.([0-9]{2}).*/\1/')
-[[ ${KVER_MINOR} < 33 ]] && echo -n "File capabilities: " && is_enabled \
- CONFIG_SECURITY_FILE_CAPABILITIES
+echo -n "File capabilities: " &&
+ [[ ${KVER_MINOR} < 33 ]] && is_enabled CONFIG_SECURITY_FILE_CAPABILITIES ||
+ [[ ${KVER_MINOR} > 32 ]] && $SETCOLOR_SUCCESS && echo -e "enabled" &&
+ $SETCOLOR_NORMAL
echo
echo "Note : Before booting a new kernel, you can check its configuration"