From ae43afc03896e4e7f310fc0d53f62b73d935e050 Mon Sep 17 00:00:00 2001 From: RGIB Date: Fri, 23 Dec 2016 23:11:54 +0100 Subject: kona : move macloader to boot time Change-Id: I2cce1d0a34fd85d1764c9fb63d67274a0e12662e --- rootdir/init.target.rc | 24 +++++++++++++----------- 1 file 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 ############################ -- cgit v1.1