use default parameter

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-12-04 13:19:25 +01:00
parent b9dcd01ea1
commit ed10f4e5b4
2 changed files with 2 additions and 6 deletions

View file

@ -21,12 +21,7 @@
base_dir=/etc/iptables.d base_dir=/etc/iptables.d
name="$__object_id" name="$__object_id"
state="$(cat "$__object/parameter/state")"
if [ -f "$__object/parameter/state" ]; then
state="$(cat "$__object/parameter/state")"
else
state="present"
fi
################################################################################ ################################################################################
# Basic setup # Basic setup

View file

@ -0,0 +1 @@
present