blob: 26a87b8089141246d0fb8ad438550040a7c08a58 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
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
9on post-fs-data
10 mkdir /data/misc/wifi/hostapd 0770 wifi wifi
11
12service hostapd /vendor/bin/hostapd \
13 /data/misc/wifi/hostapd.conf
14 class main
15 user wifi
16 writepid /data/misc/wifi/hostapd.pid
17 group wifi
18 disabled
19 oneshot