From 2b0c2737151b52d38aa449b9cefc42fa19957cbb Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 14 Feb 2012 18:04:00 +0100 Subject: [PATCH] state_should is being populated in manifest, if not given Signed-off-by: Nico Schottelius --- conf/type/__start_on_boot/gencode-remote | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/conf/type/__start_on_boot/gencode-remote b/conf/type/__start_on_boot/gencode-remote index 09c4912d..6618b9b0 100755 --- a/conf/type/__start_on_boot/gencode-remote +++ b/conf/type/__start_on_boot/gencode-remote @@ -19,12 +19,7 @@ # # -if [ -f "$__object/parameter/state" ]; then - state_should="$(cat "$__object/parameter/state")" -else - state_should="present" -fi - +state_should="$(cat "$__object/parameter/state")" state_is=$(cat "$__object/explorer/state") # Nothing todo, go away