(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:PATH)
          op: assign_op.Equal
          rhs: 
            {<'/bin'> <Id.Lit_Colon ':'> <'/usr/bin'> <Id.Lit_Colon ':'> <'/sbin'> <Id.Lit_Colon ':'> 
              <'/usr/sbin'>
            }
          spids: [44]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:DAEMON)
          op: assign_op.Equal
          rhs: {<'/usr/sbin/uuidd'>}
          spids: [53]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:UUIDD_USER)
          op: assign_op.Equal
          rhs: {<uuidd>}
          spids: [56]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:UUIDD_GROUP)
          op: assign_op.Equal
          rhs: {<uuidd>}
          spids: [59]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:UUIDD_DIR)
          op: assign_op.Equal
          rhs: {<'/run/uuidd'>}
          spids: [62]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:PIDFILE)
          op: assign_op.Equal
          rhs: {($ Id.VSub_DollarName '$UUIDD_DIR') <'/uuidd.pid'>}
          spids: [65]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<test>} {<-x>} {($ Id.VSub_DollarName '$DAEMON')})
        (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
      ]
    )
    (C {<.>} {<'/lib/lsb/init-functions'>})
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number '$1'))}
      arms: [
        (case_arm
          pat_list: [{<start>}]
          action: [
            (C {<log_daemon_msg>} {(DQ <'Starting uuid generator'>)} {(DQ <uuidd>)})
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.Pipeline
                              children: [(C {<test>} {<-d>} {($ Id.VSub_DollarName '$UUIDD_DIR')})]
                              negated: T
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (C {<mkdir>} {<-p>} {($ Id.VSub_DollarName '$UUIDD_DIR')})
                    (C {<chown>} {<-R>} 
                      {($ Id.VSub_DollarName '$UUIDD_USER') <Id.Lit_Colon ':'> 
                        ($ Id.VSub_DollarName '$UUIDD_GROUP')
                      } {($ Id.VSub_DollarName '$UUIDD_DIR')}
                    )
                  ]
                  spids: [112 123]
                )
              ]
            )
            (C {<start_daemon>} {<-p>} {($ Id.VSub_DollarName '$PIDFILE')} 
              {($ Id.VSub_DollarName '$DAEMON')}
            )
            (C {<log_end_msg>} {($ Id.VSub_QMark '$?')})
          ]
          spids: [97 98 161 -1]
        )
        (case_arm
          pat_list: [{<stop>}]
          action: [
            (C {<log_daemon_msg>} {(DQ <'Stopping uuid generator'>)} {(DQ <uuidd>)})
            (C {<killproc>} {<-p>} {($ Id.VSub_DollarName '$PIDFILE')} {($ Id.VSub_DollarName '$DAEMON')})
            (C {<log_end_msg>} {($ Id.VSub_QMark '$?')})
          ]
          spids: [164 165 193 -1]
        )
        (case_arm
          pat_list: [{<status>}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.Simple
                              words: [
                                {<pidofproc>}
                                {<-p>}
                                {($ Id.VSub_DollarName '$PIDFILE')}
                                {($ Id.VSub_DollarName '$DAEMON')}
                              ]
                              redirects: [
                                (redir
                                  op: <Id.Redir_Great '>'>
                                  loc: (redir_loc.Fd fd:1)
                                  arg: {<'/dev/null'>}
                                )
                                (redir
                                  op: <Id.Redir_GreatAnd '2>&'>
                                  loc: (redir_loc.Fd fd:2)
                                  arg: {<1>}
                                )
                              ]
                              do_fork: T
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (command.Sentence
                      child: (C {<echo>} {(DQ ($ Id.VSub_DollarName '$DAEMON') <' is running'>)})
                      terminator: <Id.Op_Semi _>
                    )
                    (command.Sentence
                      child: (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                  spids: [200 217]
                )
              ]
              else_action: [
                (command.Sentence
                  child: (C {<echo>} {(DQ ($ Id.VSub_DollarName '$DAEMON') <' is NOT running'>)})
                  terminator: <Id.Op_Semi _>
                )
                (command.If
                  arms: [
                    (if_arm
                      cond: 
                        (condition.Shell
                          commands: [
                            (command.Sentence
                              child: (C {<test>} {<-f>} {($ Id.VSub_DollarName '$PIDFILE')})
                              terminator: <Id.Op_Semi _>
                            )
                          ]
                        )
                      action: [
                        (command.Sentence
                          child: (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<2>})
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                      spids: [247 256]
                    )
                  ]
                )
                (command.Sentence
                  child: (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<3>})
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          ]
          spids: [196 197 275 -1]
        )
        (case_arm
          pat_list: [{<force-reload>} {<restart>}]
          action: [(C {($ Id.VSub_Number '$0')} {<stop>}) (C {($ Id.VSub_Number '$0')} {<start>})]
          spids: [278 281 294 -1]
        )
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (C {<echo>} {(DQ <'Usage: /etc/init.d/uuidd {start|stop|restart|force-reload}'>)})
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [297 298 313 -1]
        )
      ]
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)