Add an option to append rules to the end, not just prepend.
parent
f04a73ef01
commit
03e61504d9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue