diff options
author | Arron Wang <arron.wang@intel.com> | 2013-01-24 10:18:44 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2013-04-11 16:05:47 +0800 |
commit | 065b2ee3932826c979b310e12b84052b6b97071c (patch) | |
tree | 800732ae50268ad62f59d05cee4022ae38f7bbac | |
parent | 799d0ade138c99750ac8b8d76e825911150c308e (diff) | |
download | system-plugin-ia-generic-065b2ee3932826c979b310e12b84052b6b97071c.tar.gz system-plugin-ia-generic-065b2ee3932826c979b310e12b84052b6b97071c.tar.bz2 system-plugin-ia-generic-065b2ee3932826c979b310e12b84052b6b97071c.zip |
generate new wifi mac address at first boot
Fixed TZSP-3987 Same MAC address on tizen mobile image
Change-Id: I288ccf3578b8af3e788b700e3b4755aa8c1a1e57
-rwxr-xr-x | etc/rc.d/rc.firstboot | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/rc.firstboot b/etc/rc.d/rc.firstboot index 3ba64b4..21808d3 100755 --- a/etc/rc.d/rc.firstboot +++ b/etc/rc.d/rc.firstboot @@ -32,6 +32,9 @@ fi chown root:soundpath /opt/etc/sound/default.conf chown -R root:soundpath /opt/etc/sound/default +# Generate new wifi mac address +/usr/sbin/wlan_prov + if [ -e /opt/system/csc/.factoryreset ]; then rm -f /opt/system/csc/.factoryreset fi |