(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DAEMON='> name:DAEMON)
          op: assign_op.Equal
          rhs: {<'/sbin/brltty'>}
          spids: [42]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NAME='> name:NAME)
          op: assign_op.Equal
          rhs: {<brltty>}
          spids: [45]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DESC='> name:DESC)
          op: assign_op.Equal
          rhs: {(SQ <'Braille terminal driver'>)}
          spids: [48]
        )
      ]
      redirects: []
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (C {<test>} {<-f>} {($ Id.VSub_DollarName DAEMON)})
        (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (C {<Id.Lit_LBracket '['>} {<-e>} {<'/dev/.initramfs/brltty.conf'>} 
                          {<Id.Lit_RBracket ']'>}
                        )
                        (C {<Id.Lit_LBracket '['>} {<-e>} {<'/etc/default/brltty'>} 
                          {<Id.Lit_RBracket ']'>}
                        )
                      ]
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<mv>} {<'/dev/.initramfs/brltty.conf'>} {<'/etc/brltty.conf'>})
            (C {<sed>} {<-i>} {<-e>} {(SQ <'s/^RUN_BRLTTY=.*/RUN_BRLTTY=yes/'>)} {<'/etc/default/brltty'>})
          ]
          spids: [73 94]
        )
      ]
      else_action: []
      redirects: []
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {<Id.Lit_LBracket '['>} {<-r>} {<'/etc/default/brltty'>} {<Id.Lit_RBracket ']'>})
        (C {<.>} {<'/etc/default/brltty'>})
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName RUN_BRLTTY))} 
                      {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<yes>} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [(command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})]
          spids: [140 156]
        )
      ]
      else_action: []
      redirects: []
    )
    (C {<set>} {<-e>})
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {<Id.Lit_LBracket '['>} {<-r>} {<'/etc/default/locale'>} {<Id.Lit_RBracket ']'>})
        (C {<.>} {<'/etc/default/locale'>})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {<Id.Lit_LBracket '['>} {<-n>} {(DQ ($ Id.VSub_DollarName LANG))} {<Id.Lit_RBracket ']'>})
        (C {<export>} {<LANG>})
      ]
    )
    (C {<.>} {<'/lib/lsb/init-functions'>})
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number 1))}
      arms: [
        (case_arm
          pat_list: [{<start>}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName RUNLEVEL))} 
                              {<Id.Lit_Equals '='>} {(DQ <S>)} {<-a>} {(DQ ($ Id.VSub_DollarName PREVLEVEL))} {<Id.Lit_Equals '='>} {(DQ <N>)} 
                              {<Id.Lit_RBracket ']'>}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: 
                            (condition.Shell
                              commands: [
                                (command.Sentence
                                  child: 
                                    (C {<Id.Lit_LBracket '['>} 
                                      {(DQ ($ Id.VSub_DollarName START_IN_INITRAMFS))} {<Id.Lit_Equals '='>} {(DQ <true>)} {<-o>} {(DQ ($ Id.VSub_DollarName START_IN_INITRAMFS))} 
                                      {<Id.Lit_Equals '='>} {(DQ <yes>)} {<Id.Lit_RBracket ']'>}
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          action: [
                            (command.If
                              arms: [
                                (if_arm
                                  cond: 
                                    (condition.Shell
                                      commands: [
                                        (command.Sentence
                                          child: 
                                            (command.Simple
                                              words: [{($ Id.VSub_Number 0)} {<status>}]
                                              redirects: [
                                                (redir
                                                  op: <Id.Redir_Great '>'>
                                                  loc: (redir_loc.Fd fd:1)
                                                  arg: {<'/dev/null'>}
                                                )
                                              ]
                                              more_env: []
                                              do_fork: T
                                            )
                                          terminator: <Id.Op_Semi _>
                                        )
                                      ]
                                    )
                                  action: [(C {($ Id.VSub_Number 0)} {<stop>})]
                                  spids: [284 294]
                                )
                              ]
                              else_action: [
                                (C {<log_warning_msg>} 
                                  {
                                    (SQ 
                                      <
'BRLTTY was not running, did you forget to invoke "update-initramfs -u"?'
                                      >
                                    )
                                  }
                                )
                              ]
                              redirects: []
                            )
                          ]
                          spids: [252 281]
                        )
                      ]
                      else_action: []
                      redirects: []
                    )
                  ]
                  spids: [220 249]
                )
              ]
              else_action: []
              redirects: []
            )
            (C {<log_daemon_msg>} {(DQ <'Starting '> ($ Id.VSub_DollarName DESC))} 
              {(DQ ($ Id.VSub_DollarName NAME))}
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<start-stop-daemon>} {<--start>} {<--oknodo>} {<--exec>} 
                              {($ Id.VSub_DollarName DAEMON)} {<-->} {($ Id.VSub_DollarName ARGUMENTS)}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<log_end_msg>} {<0>})]
                  spids: [333 350]
                )
              ]
              else_action: [(C {<log_end_msg>} {<1>})]
              redirects: []
            )
          ]
          spids: [216 217 369 -1]
        )
        (case_arm
          pat_list: [{<stop>}]
          action: [
            (C {<log_daemon_msg>} {(DQ <'Stopping '> ($ Id.VSub_DollarName DESC))} 
              {(DQ ($ Id.VSub_DollarName NAME))}
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<start-stop-daemon>} {<--stop>} {<--quiet>} {<--oknodo>} {<--retry>} {<5>} 
                              {<--exec>} {($ Id.VSub_DollarName DAEMON)}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<log_end_msg>} {<0>})]
                  spids: [388 407]
                )
              ]
              else_action: [(C {<log_end_msg>} {<1>})]
              redirects: []
            )
          ]
          spids: [372 373 426 -1]
        )
        (case_arm
          pat_list: [{<restart>} {<force-reload>}]
          action: [
            (C {<log_daemon_msg>} {(DQ <'Restarting '> ($ Id.VSub_DollarName DESC))} 
              {(DQ ($ Id.VSub_DollarName NAME))}
            )
            (C {<start-stop-daemon>} {<--stop>} {<--quiet>} {<--retry>} {<5>} {<--exec>} 
              {($ Id.VSub_DollarName DAEMON)}
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<start-stop-daemon>} {<--start>} {<--quiet>} {<--exec>} 
                              {($ Id.VSub_DollarName DAEMON)} {<-->} {($ Id.VSub_DollarName ARGUMENTS)}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<log_end_msg>} {<0>})]
                  spids: [462 479]
                )
              ]
              else_action: [(C {<log_end_msg>} {<1>})]
              redirects: []
            )
          ]
          spids: [429 432 498 -1]
        )
        (case_arm
          pat_list: [{<status>}]
          action: [
            (command.AndOr
              ops: [Id.Op_DAmp Id.Op_DPipe]
              children: [
                (C {<status_of_proc>} {(DQ ($ Id.VSub_DollarName DAEMON))} 
                  {(DQ ($ Id.VSub_DollarName NAME))}
                )
                (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
                (command.ControlFlow
                  token: <Id.ControlFlow_Exit exit>
                  arg_word: {($ Id.VSub_QMark '?')}
                )
              ]
            )
          ]
          spids: [501 502 528 -1]
        )
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [
            (command.Simple
              words: [
                {<echo>}
                {
                  (DQ <'Usage: /etc/init.d/'> ($ Id.VSub_DollarName NAME) 
                    <' {start|stop|restart|force-reload|status}'>
                  )
                }
              ]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              more_env: []
              do_fork: T
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [531 532 552 -1]
        )
      ]
      redirects: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)