(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PATH) rhs: {(/usr/local/sbin) (Lit_Other ":") (/usr/local/bin) (Lit_Other ":") (/sbin) (Lit_Other ":") (/bin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/usr/bin) } spids: [40] ) ] spids: [40] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DAEMON) rhs:{(/usr/lib/sysstat/debian-sa1)} spids:[53])] spids: [53] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:NAME) rhs:{(sadc)} spids:[56])] spids: [56] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:DESC) rhs: {(DQ ("the system activity data collector"))} spids: [59] ) ] spids: [59] ) (AndOr children: [(C {(test)} {(-f)} {(DQ ($ VSub_Name "$DAEMON"))}) (C {(exit)} {(0)})] op_id: Op_DPipe ) (C {(umask)} {(022)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DEFAULT) rhs:{(/etc/default/sysstat)} spids:[87])] spids: [87] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:ENABLED) rhs:{(DQ (false))} spids:[94])] spids: [94] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:SA1_OPTIONS) rhs:{(DQ )} spids:[99])] spids: [99] ) (AndOr children: [ (C {(test)} {(-r)} {(DQ ($ VSub_Name "$DEFAULT"))}) (C {(.)} {(DQ ($ VSub_Name "$DEFAULT"))}) ] op_id: Op_DAmp ) (C {(set)} {(-e)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:status) rhs:{(0)} spids:[129])] spids: [129] ) (C {(.)} {(/lib/lsb/init-functions)}) (Case to_match: {(DQ ($ VSub_Number "$1"))} arms: [ (case_arm pat_list: [{(start)} {(restart)} {(reload)} {(force-reload)}] action: (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$ENABLED"))} {(Lit_Other "=")} {(DQ (true))} {(Lit_Other "]")} ) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (C {(log_daemon_msg)} {(DQ ("Starting ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) (AndOr children: [ (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--exec)} {($ VSub_Name "$DAEMON")} {(--)} {(--boot)} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:status) rhs: {($ VSub_QMark "$?")} spids: [206] ) ] spids: [206] ) ] op_id: Op_DPipe ) (C {(log_end_msg)} {($ VSub_Name "$status")}) ] ) spids: [-1 175] ) ] spids: [-1 215] ) spids: [147 154 218 -1] ) (case_arm pat_list:[{(stop)}] action:(NoOp) spids:[221222225-1]) (case_arm pat_list: [{(status)}] action: (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$ENABLED"))} {(Lit_Other "=")} {(DQ (true))} {(Lit_Other "]")} ) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (C {(log_success_msg)} {(DQ ("sadc cron jobs are enabled"))}) (C {(exit)} {(0)}) ] ) spids: [-1 250] ) ] else_action: (CommandList children: [ (C {(log_failure_msg)} {(DQ ("sadc cron jobs are disabled"))}) (C {(exit)} {(3)}) ] ) spids: [265 280] ) spids: [228 229 283 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (CommandList children: [ (C {(log_failure_msg)} { (DQ ("Usage: ") ($ VSub_Number "$0") (" {start|stop|restart|reload|force-reload|status}") ) } ) (C {(exit)} {(1)}) ] ) spids: [286 287 304 -1] ) ] spids: [138 144 306] ) (C {(exit)} {($ VSub_Name "$status")}) ] )