mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	This drops the shebang from another bunch of files in various /lib folders, as these are sourced and the shebang is useless. Fix execute bit in one case, too. This should cover almost all trivial cases now, i.e. where /lib is actually used for library files. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
		
			
				
	
	
		
			13 lines
		
	
	
		
			233 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			233 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Copyright (C) 2006 OpenWrt.org
 | |
| # Copyright (C) 2010 Vertical Communications
 | |
| 
 | |
| initramfs_test() {
 | |
| 	if [ -n "$INITRAMFS" ]; then
 | |
| 		boot_run_hook initramfs
 | |
| 		preinit_ip_deconfig
 | |
| 		break
 | |
| 	fi
 | |
| }
 | |
| 
 | |
| boot_hook_add preinit_main initramfs_test
 |