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.

32 lines
509 B

  1. #!/bin/sh /etc/rc.common
  2. USE_PROCD=1
  3. START=50
  4. load_params () {
  5. . /usr/share/shorewall/shorewallrc
  6. }
  7. start_service() {
  8. load_params
  9. ${SBINDIR}/shorewall -l $OPTIONS start $STARTOPTIONS
  10. }
  11. stop_service() {
  12. load_params
  13. ${SBINDIR}/shorewall -l $OPTIONS stop $STOPOPTIONS
  14. }
  15. restart_service() {
  16. load_params
  17. ${SBINDIR}/shorewall -l $OPTIONS restart $RESTARTOPTIONS
  18. }
  19. reload_service() {
  20. load_params
  21. ${SBINDIR}/shorewall -l $OPTIONS reload $RESTARTOPTIONS
  22. }