diff --git a/config/10dhcpcd b/config/10dhcpcd new file mode 100644 index 0000000..9c866c5 --- /dev/null +++ b/config/10dhcpcd @@ -0,0 +1,6 @@ +#!/system/xbin/ash + +# Clean the DHCP leases before starting. +rm -f /data/misc/dhcp/dhcpcd-wlan0.lease +rm -f /data/misc/dhcp/dhcpcd-wlan0.pid + diff --git a/montblanc.mk b/montblanc.mk index c30cfc3..ad5eaf9 100644 --- a/montblanc.mk +++ b/montblanc.mk @@ -36,6 +36,7 @@ PRODUCT_COPY_FILES += \ device/sony/montblanc-common/config/sysmon.cfg:system/etc/sysmon.cfg \ device/sony/montblanc-common/config/hostapd.conf:system/etc/wifi/hostapd.conf \ device/sony/montblanc-common/config/01stesetup:system/etc/init.d/01stesetup \ + device/sony/montblanc-common/config/10dhcpcd:system/etc/init.d/10dhcpcd \ device/sony/montblanc-common/config/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf # Filesystem management tools