use default parameter
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
b9dcd01ea1
commit
ed10f4e5b4
|
@ -21,12 +21,7 @@
|
|||
base_dir=/etc/iptables.d
|
||||
|
||||
name="$__object_id"
|
||||
|
||||
if [ -f "$__object/parameter/state" ]; then
|
||||
state="$(cat "$__object/parameter/state")"
|
||||
else
|
||||
state="present"
|
||||
fi
|
||||
|
||||
################################################################################
|
||||
# Basic setup
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
present
|
Loading…
Reference in New Issue