firewall.init 233 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2008-2010 OpenWrt.org
  3. START=45
  4. FW_LIBDIR=/lib/firewall
  5. fw() {
  6. . $FW_LIBDIR/core.sh
  7. fw_$1
  8. }
  9. start() {
  10. fw start
  11. }
  12. stop() {
  13. fw stop
  14. }
  15. restart() {
  16. fw restart
  17. }
  18. reload() {
  19. fw reload
  20. }