xref: /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/hostapd.android.rc
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
1e5b75505Sopenharmony_ci#
2e5b75505Sopenharmony_ci# init.rc fragment for hostapd on Android
3e5b75505Sopenharmony_ci# Copyright (c) 2002-2016, Jouni Malinen <j@w1.fi>
4e5b75505Sopenharmony_ci#
5e5b75505Sopenharmony_ci# This software may be distributed under the terms of the BSD license.
6e5b75505Sopenharmony_ci# See README for more details.
7e5b75505Sopenharmony_ci#
8e5b75505Sopenharmony_ci
9e5b75505Sopenharmony_cion post-fs-data
10e5b75505Sopenharmony_ci    mkdir /data/misc/wifi/hostapd 0770 wifi wifi
11e5b75505Sopenharmony_ci
12e5b75505Sopenharmony_ciservice hostapd /vendor/bin/hostapd \
13e5b75505Sopenharmony_ci        /data/misc/wifi/hostapd.conf
14e5b75505Sopenharmony_ci    class main
15e5b75505Sopenharmony_ci    user wifi
16e5b75505Sopenharmony_ci    writepid /data/misc/wifi/hostapd.pid
17e5b75505Sopenharmony_ci    group wifi
18e5b75505Sopenharmony_ci    disabled
19e5b75505Sopenharmony_ci    oneshot
20

Indexes created Thu Nov 07 10:32:03 CST 2024