mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
b65353a767
Wpa_supplicant's random pool is not necessary on Android. Randomness is already provided by the entropymixer service which ensures sufficient entropy is maintained across reboots. Commit b410eb1913 'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before either wpa_supplicant or hostapd are run. Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
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
|