mirror of
				https://github.com/AetherDroid/vendor_samsung_universal7570-common.git
				synced 2025-10-31 00:08:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			61 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| # Copyright (C) 2012 The Android Open Source Project
 | |
| #
 | |
| # IMPORTANT: Do not create world writable files or directories.
 | |
| # This is a common source of Android security bugs.
 | |
| #
 | |
| 
 | |
| # service can not be overwritten except SPRINT
 | |
| # Thus, rilcarrier is imported before common rc, like init.rilchip.rc
 | |
| import /init.rilmptcp.rc
 | |
| 
 | |
| # AT Distributor for factory test
 | |
| service at_distributor /vendor/bin/at_distributor
 | |
|     class late_start
 | |
|     user root
 | |
|     group radio misc log
 | |
| 
 | |
| service DR-daemon /vendor/bin/ddexe
 | |
|     class main
 | |
|     user root
 | |
|     group system radio inet net_raw
 | |
| 
 | |
| service BCS-daemon /vendor/bin/connfwexe
 | |
|     class main
 | |
|     user root
 | |
|     group system radio inet net_raw
 | |
| 
 | |
| # for ethernet
 | |
| service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
 | |
|     class main
 | |
|     disabled
 | |
|     oneshot
 | |
| 
 | |
| # for SmartSwitch
 | |
| service dhcpcd_usb0 /system/bin/dhcpcd -ABKL
 | |
|     class main
 | |
|     disabled
 | |
|     oneshot
 | |
| 
 | |
| # for Wi-Fi only models
 | |
| on property:ro.radio.noril=yes
 | |
|     stop ril-daemon
 | |
| 
 | |
| # for recovering at restarting netd
 | |
| service recover_radio /system/bin/sh /system/etc/restart_radio_process.sh
 | |
|     class main
 | |
|     user root
 | |
|     group radio
 | |
|     disabled
 | |
|     oneshot
 | |
| 
 | |
| on post-fs-data
 | |
|     # For Samsung members
 | |
|     mkdir /data/log/err 0775 radio log
 | |
|     chown radio log /data/log/err
 | |
| 
 | |
| on property:init.svc.netd=restarting
 | |
|     start recover_radio
 | |
| 
 | |
| on post-fs-data
 | |
|     mkdir /efs/imei 0775 root radio
 | |
|     restorecon -R /efs/imei
 | 
