1 #!/bin/sh /etc/rc.common 2 3 START=19 4 USE_PROCD=1 5 QUIET="" 6 7 service_triggers() { 8 procd_add_reload_trigger firewall 9 } 10 11 restart() { 12 fw4 restart 13 } 14 15 start_service() { 16 fw4 ${QUIET} start 17 } 18 19 stop_service() { 20 fw4 flush 21 } 22 23 reload_service() { 24 fw4 reload 25 } 26 27 boot() { 28 # Be silent on boot, firewall might be started by hotplug already, 29 # so don't complain in syslog. 30 QUIET=-q 31 start 32 }
This page was automatically generated by LXR 0.3.1. • OpenWrt