mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
427 B

  1. #!/bin/bash
  2. #
  3. # ROCK Linux /etc/rc.d/init.d/shorewall
  4. #
  5. # Desc: Shorewall Firewall
  6. # Runlevel: 16 rcX
  7. #
  8. main_begin
  9. block_begin(start, `Starting Shorewall.')
  10. check(`/sbin/shorewall start')
  11. block_end
  12. block_begin(stop, `Stopping Shorewall.')
  13. check(`/sbin/shorewall stop')
  14. block_end
  15. block_begin(restart, `Restarting Shorewall.')
  16. check(`/sbin/shorewall restart')
  17. block_end
  18. main_end