From 03e61504d96b35aab10899cec7af89ccb8941aa4 Mon Sep 17 00:00:00 2001 From: "Robert \"ar\" Gerus" Date: Mon, 11 Mar 2013 12:56:40 +0100 Subject: [PATCH] Add an option to append rules to the end, not just prepend. --- lib/loadrules.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/loadrules.bash b/lib/loadrules.bash index fcc5361..58a9266 100644 --- a/lib/loadrules.bash +++ b/lib/loadrules.bash @@ -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"