|
Lines 41-54
Link Here
|
| 41 |
} |
41 |
} |
| 42 |
|
42 |
|
| 43 |
pkg_config() { |
43 |
pkg_config() { |
| 44 |
einfo "Checking kernel configuration" |
|
|
| 45 |
CONFIG_CHECK="KOBJECT_UEVENT !STANDALONE FW_LOADER NET PACKET ATM NETDEVICES \ |
44 |
CONFIG_CHECK="KOBJECT_UEVENT !STANDALONE FW_LOADER NET PACKET ATM NETDEVICES \ |
| 46 |
PPP ~PPP_DEFLATE ~PPP_BSDCOMP PPPOATM USB USB_DEVICEFS USB_ATM USB_SPEEDTOUCH" |
45 |
PPP ~PPP_DEFLATE ~PPP_BSDCOMP PPPOATM USB USB_DEVICEFS USB_ATM USB_SPEEDTOUCH" |
| 47 |
check_extra_config |
46 |
check_extra_config |
|
|
47 |
echo "" |
| 48 |
|
48 |
|
| 49 |
einfo "Check pppd support for PPPoA" |
|
|
| 50 |
if ! built_with_use net-dialup/ppp atm; then |
49 |
if ! built_with_use net-dialup/ppp atm; then |
| 51 |
eerror "net-dialup/ppp should be build with PPP over ATM support enabled." |
50 |
eerror "net-dialup/ppp should be built with PPP over ATM support enabled." |
| 52 |
eerror "Run the following command and try again:" |
51 |
eerror "Run the following command and try again:" |
| 53 |
eerror " euse -E atm && emerge net-dialup/ppp" |
52 |
eerror " euse -E atm && emerge net-dialup/ppp" |
| 54 |
return 1 |
53 |
return 1 |
|
Lines 154-160
Link Here
|
| 154 |
} |
153 |
} |
| 155 |
|
154 |
|
| 156 |
pkg_prerm() { |
155 |
pkg_prerm() { |
| 157 |
# Remove symlinks createed by emerge --config |
156 |
# Remove symlinks created by emerge --config |
| 158 |
[ -L /lib/firmware/speedtch-1.bin ] \ |
157 |
[ -L /lib/firmware/speedtch-1.bin ] \ |
| 159 |
&& rm -f /lib/firmware/speedtch-1.bin |
158 |
&& rm -f /lib/firmware/speedtch-1.bin |
| 160 |
[ -L /lib/firmware/speedtch-2.bin ] \ |
159 |
[ -L /lib/firmware/speedtch-2.bin ] \ |