mirror of
				https://git.openwrt.org/project/luci.git
				synced 2025-11-04 21:09:01 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			5 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
PATTERN='/cgi-bin/ffluci/admin:root:$p$root'
 | 
						|
grep $PATTERN ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo $PATTERN >> ${IPKG_INSTROOT}/etc/httpd.conf 
 | 
						|
[ -z ${IPKG_INSTROOT} ] && /etc/init.d/httpd restart
 |