(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:PATH)
          op: assign_op.Equal
          rhs: 
            {(/usr/local/sbin) (Id.Lit_Other ':') (/usr/local/bin) (Id.Lit_Other ':') (/sbin) 
              (Id.Lit_Other ':') (/bin) (Id.Lit_Other ':') (/usr/sbin) (Id.Lit_Other ':') (/usr/bin)
            }
          spids: [40]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:DAEMON)
          op: assign_op.Equal
          rhs: {(/usr/lib/sysstat/debian-sa1)}
          spids: [53]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:NAME)
          op: assign_op.Equal
          rhs: {(sadc)}
          spids: [56]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:DESC)
          op: assign_op.Equal
          rhs: {(DQ ('the system activity data collector'))}
          spids: [59]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {(test)} {(-f)} {(DQ ($ Id.VSub_DollarName '$DAEMON'))})
        (command.ControlFlow
          token: (Token id:Id.ControlFlow_Exit val:exit span_id:75)
          arg_word: {(0)}
        )
      ]
    )
    (C {(umask)} {(022)})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:DEFAULT)
          op: assign_op.Equal
          rhs: {(/etc/default/sysstat)}
          spids: [87]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:ENABLED)
          op: assign_op.Equal
          rhs: {(DQ (false))}
          spids: [94]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:SA1_OPTIONS)
          op: assign_op.Equal
          rhs: {(DQ )}
          spids: [99]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {(test)} {(-r)} {(DQ ($ Id.VSub_DollarName '$DEFAULT'))})
        (C {(.)} {(DQ ($ Id.VSub_DollarName '$DEFAULT'))})
      ]
    )
    (C {(Id.KW_Set set)} {(-e)})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:status)
          op: assign_op.Equal
          rhs: {(0)}
          spids: [129]
        )
      ]
    )
    (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: [
                    (command.Sentence
                      child: 
                        (C {(Id.Lit_LBracket '[')} {(DQ ($ Id.VSub_DollarName '$ENABLED'))} 
                          {(Id.Lit_Equals '=')} {(DQ (true))} {(Id.Lit_RBracket ']')}
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:173)
                    )
                  ]
                  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 name:status)
                              op: assign_op.Equal
                              rhs: {($ Id.VSub_QMark '$?')}
                              spids: [206]
                            )
                          ]
                        )
                      ]
                    )
                    (C {(log_end_msg)} {($ Id.VSub_DollarName '$status')})
                  ]
                  spids: [157 175]
                )
              ]
            )
          ]
          spids: [147 154 218 -1]
        )
        (case_arm pat_list:[{(stop)}] spids:[221 222 225 -1])
        (case_arm
          pat_list: [{(status)}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Id.Lit_LBracket '[')} {(DQ ($ Id.VSub_DollarName '$ENABLED'))} 
                          {(Id.Lit_Equals '=')} {(DQ (true))} {(Id.Lit_RBracket ']')}
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:248)
                    )
                  ]
                  action: [
                    (C {(log_success_msg)} {(DQ ('sadc cron jobs are enabled'))})
                    (command.ControlFlow
                      token: (Token id:Id.ControlFlow_Exit val:exit span_id:260)
                      arg_word: {(0)}
                    )
                  ]
                  spids: [232 250]
                )
              ]
              else_action: [
                (C {(log_failure_msg)} {(DQ ('sadc cron jobs are disabled'))})
                (command.ControlFlow
                  token: (Token id:Id.ControlFlow_Exit val:exit span_id:275)
                  arg_word: {(3)}
                )
              ]
            )
          ]
          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: (Token id:Id.ControlFlow_Exit val:exit span_id:299)
              arg_word: {(1)}
            )
          ]
          spids: [286 287 304 -1]
        )
      ]
    )
    (command.ControlFlow
      token: (Token id:Id.ControlFlow_Exit val:exit span_id:309)
      arg_word: {($ Id.VSub_DollarName '$status')}
    )
  ]
)