aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2014-11-26 15:58:43 -0800
committerMichael Scott <michael.scott@linaro.org>2014-11-26 15:58:43 -0800
commitb5b6c8d2f57b5e5d8c0216c57d9c5b7759746cd0 (patch)
tree1619a64f34cb90b3f00aa6d808a14520453a2b3e
parent1deec63cbe4b8d8c499a2233ec1370bad9f97de9 (diff)
otterx: use static bbx (busybox) for mac script
Signed-off-by: Michael Scott <michael.scott@linaro.org>
-rw-r--r--prebuilt/bin/fix-mac.sh3
1 files changed, 2 insertions, 1 deletions
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