aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
############################