From 6a6f4977efb0d59d345927d26db593709fb5dbd7 Mon Sep 17 00:00:00 2001 From: Michael Scott Date: Mon, 1 Dec 2014 01:15:55 +0200 Subject: otterx: use static bbx (busybox) for mac script Change-Id: Idd1f48509c6ff06c95bb463c1ca2f29c9403bf3f Signed-off-by: Michael Scott --- prebuilt/bin/fix-mac.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prebuilt/bin/fix-mac.sh b/prebuilt/bin/fix-mac.sh index fdc5ade..b02c544 100644 --- a/prebuilt/bin/fix-mac.sh +++ b/prebuilt/bin/fix-mac.sh @@ -7,7 +7,8 @@ NVS_BIN=/system/etc/firmware/ti-connectivity/wl1271-nvs.bin if [ ! -f "$NVS_BIN" ]; then mount -o remount,rw /system cp ${ORIG_NVS_BIN} ${NVS_BIN} - calibrator set nvs_mac $NVS_BIN $(getprop ro.boot.wifimac | sed 's/../&:/g;s/:$//') + calibrator set nvs_mac $NVS_BIN $(getprop ro.boot.wifimac | bbx sed 's/../&:/g;s/:$//') + chmod 644 ${NVS_BIN} mount -o remount,ro /system fi -- cgit v1.2.3