init: remove ppp stuff - this is handled by init.d.97ppp
This commit is contained in:
parent
dbf7872ab3
commit
71dd3b0889
@ -185,25 +185,6 @@ on boot
|
||||
# Enable low memory killer to check file pages
|
||||
#write /sys/module/lowmemorykiller/parameters/minfile 0,0,0,5120,5632,6144
|
||||
#write /sys/module/lowmemorykiller/parameters/check_filepages 1
|
||||
|
||||
# PPP stuff
|
||||
chown radio radio /dev/smd1
|
||||
chown root radio /system/etc/ppp
|
||||
chown root root /system/bin/pppd;
|
||||
chmod 755 /system/etc/ppp/*
|
||||
chmod 4755 /system/bin/pppd
|
||||
|
||||
if [ -f /system/ppp ]
|
||||
then
|
||||
# PPP enabled, doing PPP specific stuff
|
||||
|
||||
# Create link for resolv.conf (generated by pppd)
|
||||
symlink /etc/ppp/resolv.conf /etc/resolv.conf
|
||||
|
||||
# Tweak kernel low memory handling
|
||||
write /proc/sys/vm/lowmem_reserve_ratio 8 8
|
||||
write /proc/sys/vm/min_free_kbytes 8192
|
||||
fi
|
||||
|
||||
service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
|
||||
--baudrate 3000000 --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0
|
||||
|
Loading…
Reference in New Issue
Block a user