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.

11 lines
307B

  1. #!/bin/bash
  2. # Important directory locations
  3. FWPREFIX="/usr/local"
  4. FWCONFIGDIR="${FWPREFIX}/etc/srfirewall"
  5. FWLIBDIR="${FWPREFIX}/lib/srfirewall"
  6. FWBINDIR="${FWPREFIX}/bin"
  7. source "${FWCONFIGDIR}/main.conf"
  8. source "${FWCONFIGDIR}/local.conf"
  9. echo "$*" >> "${FWPREFIX}/etc/srfirewall/cache/srfirewall-rules"