SRFirewall/bin/rule-save6

11 lines
308 B
Bash
Executable File

#!/bin/bash
# Important directory locations
FWPREFIX="/usr/local"
FWCONFIGDIR="${FWPREFIX}/etc/srfirewall"
FWLIBDIR="${FWPREFIX}/lib/srfirewall"
FWBINDIR="${FWPREFIX}/bin"
source "${FWCONFIGDIR}/main.conf"
source "${FWCONFIGDIR}/local.conf"
echo "$*" >> "${FWPREFIX}/etc/srfirewall/cache/srfirewall-rules6"