|
|
} | } |
| |
pkg_config() { | pkg_config() { |
einfo "Checking kernel configuration" |
|
CONFIG_CHECK="KOBJECT_UEVENT !STANDALONE FW_LOADER NET PACKET ATM NETDEVICES \ | CONFIG_CHECK="KOBJECT_UEVENT !STANDALONE FW_LOADER NET PACKET ATM NETDEVICES \ |
PPP ~PPP_DEFLATE ~PPP_BSDCOMP PPPOATM USB USB_DEVICEFS USB_ATM USB_SPEEDTOUCH" | PPP ~PPP_DEFLATE ~PPP_BSDCOMP PPPOATM USB USB_DEVICEFS USB_ATM USB_SPEEDTOUCH" |
check_extra_config | check_extra_config |
|
echo "" |
| |
einfo "Check pppd support for PPPoA" |
|
if ! built_with_use net-dialup/ppp atm; then | if ! built_with_use net-dialup/ppp atm; then |
eerror "net-dialup/ppp should be build with PPP over ATM support enabled." |
eerror "net-dialup/ppp should be built with PPP over ATM support enabled." |
eerror "Run the following command and try again:" | eerror "Run the following command and try again:" |
eerror " euse -E atm && emerge net-dialup/ppp" | eerror " euse -E atm && emerge net-dialup/ppp" |
return 1 | return 1 |
|
|
} | } |
| |
pkg_prerm() { | pkg_prerm() { |
# Remove symlinks createed by emerge --config |
# Remove symlinks created by emerge --config |
[ -L /lib/firmware/speedtch-1.bin ] \ | [ -L /lib/firmware/speedtch-1.bin ] \ |
&& rm -f /lib/firmware/speedtch-1.bin | && rm -f /lib/firmware/speedtch-1.bin |
[ -L /lib/firmware/speedtch-2.bin ] \ | [ -L /lib/firmware/speedtch-2.bin ] \ |