(List (FunctionDef start [] (List (Com {[LIT_CHARS targetcli]} {[LIT_CHARS restoreconfig]} ) (Com {[LIT_CHARS iscsid]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "iscsid started"]]} ) ) ) (FunctionDef stop [] (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Stopping iscsid"]]} ) (Com {[LIT_CHARS kill]} {[ComSub (Com {[LIT_CHARS cat]} {[LIT_CHARS /var/run/iscsid.pid]})]} ) (Com {[LIT_CHARS targetcli]} {[LIT_CHARS clearconfig]} {[LIT_VAR_LIKE "confirm="] [LIT_CHARS True] =} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "iscsid stopped"]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 0]} ) ) ) (Com {[LIT_CHARS trap]} {[LIT_CHARS stop]} {[LIT_CHARS TERM]} ) (Com {[LIT_CHARS start]} ) (While (Com {[LIT_CHARS true]} ) (Com {[LIT_CHARS sleep]} {[LIT_CHARS 5]} ) ) )