mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 14:34:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			233 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			233 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh /etc/rc.common
 | 
						|
# Copyright (C) 2008-2010 OpenWrt.org
 | 
						|
 | 
						|
START=45
 | 
						|
 | 
						|
FW_LIBDIR=/lib/firewall
 | 
						|
 | 
						|
fw() {
 | 
						|
	. $FW_LIBDIR/core.sh
 | 
						|
	fw_$1
 | 
						|
}
 | 
						|
 | 
						|
start() {
 | 
						|
	fw start
 | 
						|
}
 | 
						|
 | 
						|
stop() {
 | 
						|
	fw stop
 | 
						|
}
 | 
						|
 | 
						|
restart() {
 | 
						|
	fw restart
 | 
						|
}
 | 
						|
 | 
						|
reload() {
 | 
						|
	fw reload
 | 
						|
}
 |