mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	This replaces deprecated backticks by more versatile $(...) syntax. This does not touch lib/upgrade/nand.sh, as there replacement is not trivial. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
		
			
				
	
	
		
			10 lines
		
	
	
		
			179 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			179 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
. /lib/functions.sh
 | 
						|
 | 
						|
for file in $(grep -sl Require-User /usr/lib/opkg/info/*.control); do
 | 
						|
	file="${file##*/}"
 | 
						|
	file="${file%.control}"
 | 
						|
	add_group_and_user "${file}"
 | 
						|
done
 | 
						|
 | 
						|
exit 0
 |