c1d255d3ff
Merge vendor commits 40c7ff83e74eabba5a7e2caefeea12372b2d3f9a, efec8223892b3e677acb46eae84ec3534989971f, and 2f6c3ea9600b494d24cac5a38c1cea0ac192245e. Tested by: philip MFC after: 2 months
20 lines
453 B
Plaintext
20 lines
453 B
Plaintext
#
|
|
# init.rc fragment for hostapd on Android
|
|
# Copyright (c) 2002-2016, Jouni Malinen <j@w1.fi>
|
|
#
|
|
# This software may be distributed under the terms of the BSD license.
|
|
# See README for more details.
|
|
#
|
|
|
|
on post-fs-data
|
|
mkdir /data/misc/wifi/hostapd 0770 wifi wifi
|
|
|
|
service hostapd /vendor/bin/hostapd \
|
|
/data/misc/wifi/hostapd.conf
|
|
class main
|
|
user wifi
|
|
writepid /data/misc/wifi/hostapd.pid
|
|
group wifi
|
|
disabled
|
|
oneshot
|