1
1
diff --git a/rootdir/etc/init.goldfish.rc b/rootdir/etc/init.goldfish.rc
2
- index 83b7f8a..2864fc6 100644
2
+ index 83b7f8a..ba7753d 100644
3
3
--- a/rootdir/etc/init.goldfish.rc
4
4
+++ b/rootdir/etc/init.goldfish.rc
5
5
@@ -1,23 +1,33 @@
@@ -36,7 +36,7 @@ index 83b7f8a..2864fc6 100644
36
36
37
37
# disable some daemons the emulator doesn't want
38
38
stop dund
39
- @@ -25,16 +35,61 @@ on boot
39
+ @@ -25,16 +35,78 @@ on boot
40
40
41
41
# start essential services
42
42
start qemud
@@ -60,6 +60,11 @@ index 83b7f8a..2864fc6 100644
60
60
+ # Create a writable fake fwpath for emulator. (/sys/module/wlan/parameters/fwpath on device)
61
61
+ write /data/misc/wifi/fake_fwpath sta
62
62
+
63
+ + # Create the directories used by DarwinStreamingServer.
64
+ + mkdir /data/misc/streaming 0770
65
+ + mkdir /data/misc/streaming/logs 0770
66
+ + mkdir /data/misc/streaming/media 0770
67
+ +
63
68
+ service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dtest -iwlan0 -c/data/misc/wifi/wpa_supplicant_test.conf -ddd
64
69
+ class late_start
65
70
+ user root
@@ -89,6 +94,18 @@ index 83b7f8a..2864fc6 100644
89
94
+ user root
90
95
+ group wifi net
91
96
+ oneshot
97
+ +
98
+ + # Darwin Streaming Server.
99
+ + service dss /system/bin/DarwinStreamingServer -d
100
+ + class late_start
101
+ + user root
102
+ + disabled
103
+ + oneshot
104
+ +
105
+ + service dss-setup /system/bin/sh /system/etc/init.goldfish.dss.sh
106
+ + class late_start
107
+ + user root
108
+ + oneshot
92
109
+
93
110
# enable Google-specific location features,
94
111
# like NetworkLocationProvider and LocationCollector
@@ -98,7 +115,7 @@ index 83b7f8a..2864fc6 100644
98
115
# account info for the device via these two properties. Google
99
116
# Login Service will insert these accounts into the database when
100
117
# it is created (ie, after a data wipe).
101
- @@ -71,8 +126 ,15 @@ service qemud /system/bin/qemud
118
+ @@ -71,8 +143 ,15 @@ service qemud /system/bin/qemud
102
119
# -Q is a special logcat option that forces the
103
120
# program to check wether it runs on the emulator
104
121
# if it does, it redirects its output to the device
0 commit comments