Christopher Wiley | 5ec9510 | 2016-07-13 10:34:47 -0700 | [diff] [blame^] | 1 | # |
2 | # init.rc fragment for hostapd on Android | ||||
3 | # Copyright (c) 2002-2016, Jouni Malinen <j@w1.fi> | ||||
4 | # | ||||
5 | # This software may be distributed under the terms of the BSD license. | ||||
6 | # See README for more details. | ||||
7 | # | ||||
8 | |||||
9 | on post-fs-data | ||||
10 | mkdir /data/misc/wifi/hostapd 0770 wifi wifi | ||||
11 | |||||
12 | service hostapd /system/bin/hostapd \ | ||||
13 | -e /data/misc/wifi/entropy.bin \ | ||||
14 | /data/misc/wifi/hostapd.conf | ||||
15 | class main | ||||
16 | user wifi | ||||
17 | group wifi | ||||
18 | disabled | ||||
19 | oneshot |