Add an option to append rules to the end, not just prepend.

master
Robert "ar" Gerus 2013-03-11 12:56:40 +01:00
parent f04a73ef01
commit 03e61504d9
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
loadrules() {
flag="-I"
append="-A"
if [[ ! $# -eq 1 ]]; then
echo "only one argument - filename expected"
@ -19,6 +20,7 @@ loadrules() {
unloadrules() {
flag="-D"
append="-D"
if [[ ! $# -eq 1 ]]; then
echo "only one argument - filename expected"