(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH) op: assign_op.Equal rhs: {<'/usr/local/sbin'> <Id.Lit_Colon ':'> <'/usr/local/bin'> <Id.Lit_Colon ':'> <'/sbin'> <Id.Lit_Colon ':'> <'/bin'> <Id.Lit_Colon ':'> <'/usr/sbin'> <Id.Lit_Colon ':'> <'/usr/bin'> } spids: [40] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DAEMON='> name:DAEMON) op: assign_op.Equal rhs: {<'/usr/lib/sysstat/debian-sa1'>} spids: [53] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NAME='> name:NAME) op: assign_op.Equal rhs: {<sadc>} spids: [56] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DESC='> name:DESC) op: assign_op.Equal rhs: {(DQ <'the system activity data collector'>)} spids: [59] ) ] redirects: [] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-f>} {(DQ ($ Id.VSub_DollarName DAEMON))}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ) (C {<umask>} {<022>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DEFAULT='> name:DEFAULT) op: assign_op.Equal rhs: {<'/etc/default/sysstat'>} spids: [87] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ENABLED='> name:ENABLED) op: assign_op.Equal rhs: {(DQ <false>)} spids: [94] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SA1_OPTIONS='> name:SA1_OPTIONS) op: assign_op.Equal rhs: {(DQ )} spids: [99] ) ] redirects: [] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-r>} {(DQ ($ Id.VSub_DollarName DEFAULT))}) (C {<.>} {(DQ ($ Id.VSub_DollarName DEFAULT))}) ] ) (C {<set>} {<-e>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'status='> name:status) op: assign_op.Equal rhs: {<0>} spids: [129] ) ] redirects: [] ) (C {<.>} {<'/lib/lsb/init-functions'>}) (command.Case to_match: {(DQ ($ Id.VSub_Number 1))} arms: [ (case_arm pat_list: [{<start>} {<restart>} {<reload>} {<force-reload>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName ENABLED))} {<Id.Lit_Equals '='>} {(DQ <true>)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<log_daemon_msg>} {(DQ <'Starting '> ($ Id.VSub_DollarName DESC))} {(DQ ($ Id.VSub_DollarName NAME))} ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<start-stop-daemon>} {<--start>} {<--quiet>} {<--exec>} {($ Id.VSub_DollarName DAEMON)} {<-->} {<--boot>} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'status='> name:status) op: assign_op.Equal rhs: {($ Id.VSub_QMark '?')} spids: [206] ) ] redirects: [] ) ] ) (C {<log_end_msg>} {($ Id.VSub_DollarName status)}) ] spids: [157 175] ) ] else_action: [] redirects: [] ) ] spids: [147 154 218 -1] ) (case_arm pat_list:[{<stop>}] action:[] spids:[221 222 225 -1]) (case_arm pat_list: [{<status>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName ENABLED))} {<Id.Lit_Equals '='>} {(DQ <true>)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<log_success_msg>} {(DQ <'sadc cron jobs are enabled'>)}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<0>} ) ] spids: [232 250] ) ] else_action: [ (C {<log_failure_msg>} {(DQ <'sadc cron jobs are disabled'>)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<3>}) ] redirects: [] ) ] spids: [228 229 283 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<log_failure_msg>} { (DQ <'Usage: '> ($ Id.VSub_Number 0) <' {start|stop|restart|reload|force-reload|status}'> ) } ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [286 287 304 -1] ) ] redirects: [] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{($ Id.VSub_DollarName status)}) ] )