diff options
| author | Michael Scott <michael.scott@linaro.org> | 2014-12-01 01:15:55 +0200 |
|---|---|---|
| committer | doc <doc.divxm@gmail.com> | 2014-12-01 01:16:01 +0200 |
| commit | 6a6f4977efb0d59d345927d26db593709fb5dbd7 (patch) | |
| tree | aabbd0e0ca20dba9f1913ad22f084f2b85710845 | |
| parent | 512796c7463b1e78a910e54b1acfb70e5806bb85 (diff) | |
otterx: use static bbx (busybox) for mac script
Change-Id: Idd1f48509c6ff06c95bb463c1ca2f29c9403bf3f
Signed-off-by: Michael Scott <michael.scott@linaro.org>
| -rw-r--r-- | prebuilt/bin/fix-mac.sh | 3 |
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 |
