1
0
Fork 0
bbruns 2014-04-13 16:19:11 +00:00
Ursprung 0c7813397c
Commit f1bfeca7b8
2 geänderte Dateien mit 22 neuen und 0 gelöschten Zeilen

11
bin/rule-save Normal file
Datei anzeigen

@ -0,0 +1,11 @@
#!/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-rules"

11
bin/rule-save6 Executable file
Datei anzeigen

@ -0,0 +1,11 @@
#!/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"