mirror of
				https://github.com/AetherDroid/vendor_samsung_universal7570-common.git
				synced 2025-10-31 00:08:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			512 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			512 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #
 | |
| # 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 \
 | |
|         -e /data/misc/wifi/entropy.bin \
 | |
|         /data/misc/wifi/hostapd.conf
 | |
|     class main
 | |
|     user wifi
 | |
|     group wifi net_raw net_admin
 | |
|     writepid /data/misc/wifi/hostapd.pid
 | |
|     disabled
 | |
|     oneshot
 | 
