hostapd.android.rc 453 B

12345678910111213141516171819
  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. on post-fs-data
  9. mkdir /data/misc/wifi/hostapd 0770 wifi wifi
  10. service hostapd /vendor/bin/hostapd \
  11. /data/misc/wifi/hostapd.conf
  12. class main
  13. user wifi
  14. writepid /data/misc/wifi/hostapd.pid
  15. group wifi
  16. disabled
  17. oneshot