#!/bin/bash

source ./kernel_config_utils.sh

ppp_check() {
    local is_error

    is_error="false"
    if ! kernel_config_check CONFIG_PPP ppp_generic; then
        is_error="true"
    fi
    if ! kernel_config_check CONFIG_PPPOE pppoe; then
        is_error="true"
    fi
    if [ "$is_error" == "true" ]; then
        return 1
    fi

    return 0
}

