aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-12-23 23:11:54 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-12-23 23:11:54 +0100
commitae43afc03896e4e7f310fc0d53f62b73d935e050 (patch)
treeeaca48479fe30e82d60fb16170f5f337593a9327 /rootdir
parent7f7ed272b1322a3a69e28c54e10fcec14702f906 (diff)
downloaddevice_samsung_kona-common-ae43afc03896e4e7f310fc0d53f62b73d935e050.zip
device_samsung_kona-common-ae43afc03896e4e7f310fc0d53f62b73d935e050.tar.gz
device_samsung_kona-common-ae43afc03896e4e7f310fc0d53f62b73d935e050.tar.bz2
kona : move macloader to boot time
Change-Id: I2cce1d0a34fd85d1764c9fb63d67274a0e12662e
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.target.rc24
1 files changed, 13 insertions, 11 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index 8fad3c1..01fdb4c 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -9,17 +9,6 @@ on init
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 system system
-# MACloader
- rm /data/.cid.info
- chown system system /efs/wifi/.mac.cob
- chown system system /efs/wifi/.mac.info
- chown system system /data/.cid.info
- chmod 0666 /efs/wifi/.mac.cob
- chmod 0666 /efs/wifi/.mac.info
- chmod 0666 /data/.cid.info
- copy /efs/wifi/.mac.cob /efs/wifi/.mac.info
- write /data/.cid.info murata
-
############################
on post-fs-data
############################
@@ -328,6 +317,19 @@ on property:sys.boot_completed=1
# an ack packet comes out of order
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
+# MACloader
+ rm /data/.cid.info
+ rm /efs/wifi/.mac.info
+ copy /efs/wifi/.mac.cob /efs/wifi/.mac.info
+ chown system system /efs/wifi/.mac.cob
+ chown system system /efs/wifi/.mac.info
+ chmod 0666 /efs/wifi/.mac.cob
+ chmod 0666 /efs/wifi/.mac.info
+ start macloader
+ write /data/.cid.info murata
+ chown system root /data/.cid.info
+ chmod 0666 /data/.cid.info
+
############################
# Services
############################