(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:PATH)
          op: assign_op.Equal
          rhs: {(/sbin) (Id.Lit_Other ':') (/bin)}
          spids: [31]
        )
      ]
    )
    (C {(.)} {(/lib/lsb/init-functions)})
    (C {(.)} {(/lib/init/vars.sh)})
    (C {(.)} {(/lib/init/tmpfs.sh)})
    (C {(.)} {(/lib/init/mount-functions.sh)})
    (C {(.)} {(/lib/init/swap-functions.sh)})
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (C {(Id.Lit_LBracket '[')} {(-r)} {(/etc/default/locale)} {(Id.Lit_RBracket ']')})
              terminator: (Token id:Id.Op_Semi val:';' span_id:70)
            )
          ]
          action: [(C {(.)} {(/etc/default/locale)}) (C {(export)} {(LANG)})]
          spids: [61 72]
        )
      ]
    )
    (command.ShFunction
      name: do_start
      body: 
        (command.BraceGroup
          children: [
            (command.ShFunction
              name: mount_all_local
              body: 
                (command.BraceGroup
                  children: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: (C {(mountpoint)} {(-q)} {(/usr)})
                              terminator: (Token id:Id.Op_Semi val:';' span_id:120)
                            )
                          ]
                          action: [(C {(mount)} {(-o)} {(remount)} {(/usr)})]
                          spids: [113 122]
                        )
                      ]
                    )
                    (C {(mount)} {(-a)} {(-t)} 
                      {(nonfs) (Id.Lit_Comma ',') (nfs4) (Id.Lit_Comma ',') (smbfs) (Id.Lit_Comma ',') 
                        (cifs) (Id.Lit_Comma ',') (ncp) (Id.Lit_Comma ',') (ncpfs) (Id.Lit_Comma ',') (coda) (Id.Lit_Comma ',') (ocfs2) 
                        (Id.Lit_Comma ',') (gfs) (Id.Lit_Comma ',') (gfs2) (Id.Lit_Comma ',') (ceph)
                      } {(-O)} {(no_netdev)}
                    )
                  ]
                )
            )
            (C {(pre_mountall)})
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (C {(Id.Lit_LBracket '[')} {(DQ ($ Id.VSub_DollarName '$VERBOSE'))} 
                      {(Id.Lit_Equals '=')} {(no)} {(Id.Lit_RBracket ']')}
                    )
                  ]
                  action: [
                    (C {(log_action_begin_msg)} {(DQ ('Mounting local filesystems'))})
                    (C {(mount_all_local)})
                    (C {(log_action_end_msg)} {($ Id.VSub_QMark '$?')})
                  ]
                  spids: [186 201]
                )
              ]
              else_action: [
                (C {(log_daemon_msg)} {(DQ ('Will now mount local filesystems'))})
                (C {(mount_all_local)})
                (C {(log_end_msg)} {($ Id.VSub_QMark '$?')})
              ]
            )
            (C {(post_mountall)})
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:INITCTL)
                  op: assign_op.Equal
                  rhs: {(DQ (/run/initctl))}
                  spids: [260]
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.AndOr
                          ops: [Id.Op_DAmp]
                          children: [
                            (C {(Id.Lit_LBracket '[')} {(Id.KW_Bang '!')} {(-p)} 
                              {(DQ ($ Id.VSub_DollarName '$INITCTL'))} {(Id.Lit_RBracket ']')}
                            )
                            (C {(Id.Lit_LBracket '[')} {(-f)} {(DQ (/usr/share/sysvinit/update-rc.d))} 
                              {(Id.Lit_RBracket ']')}
                            )
                          ]
                        )
                      terminator: (Token id:Id.Op_Semi val:';' span_id:291)
                    )
                  ]
                  action: [
                    (C {(rm)} {(-f)} {(DQ ($ Id.VSub_DollarName '$INITCTL'))})
                    (C {(mknod)} {(-m)} {(600)} {(DQ ($ Id.VSub_DollarName '$INITCTL'))} {(p)})
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:PID)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (DQ 
                                (command_sub
                                  left_token: (Token id:Id.Left_DollarParen val:'$(' span_id:329)
                                  command_list: 
                                    (command.CommandList
                                      children: [
                                        (command.AndOr
                                          ops: [Id.Op_DPipe]
                                          children: [
                                            (C {(pidof)} {(-s)} {(/sbin/init)})
                                            (C {(echo)} {(1)})
                                          ]
                                        )
                                      ]
                                    )
                                )
                              )
                            }
                          spids: [327]
                        )
                      ]
                    )
                    (command.AndOr
                      ops: [Id.Op_DAmp]
                      children: [
                        (C {(Id.Lit_LBracket '[')} {(-n)} {(DQ ($ Id.VSub_DollarName '$PID'))} 
                          {(Id.Lit_RBracket ']')}
                        )
                        (C {(kill)} {(-s)} {(USR1)} {(DQ ($ Id.VSub_DollarName '$PID'))})
                      ]
                    )
                  ]
                  spids: [266 293]
                )
              ]
            )
            (C {(swaponagain)} {(SQ (Token id:Id.Lit_Chars val:swapfile span_id:383))})
            (C {(mount_run)} {(mount_noupdate)})
            (C {(mount_lock)} {(mount_noupdate)})
            (C {(mount_shm)} {(mount_noupdate)})
            (C {(mount_tmp)} {(mount_noupdate)})
          ]
        )
    )
    (command.Case
      to_match: {(DQ ($ Id.VSub_Number '$1'))}
      arms: [
        (case_arm
          pat_list: [{(start)} {(DQ )}]
          action: [(C {(do_start)})]
          spids: [440 444 450 -1]
        )
        (case_arm
          pat_list: [{(restart)} {(reload)} {(force-reload)}]
          action: [
            (command.Simple
              words: [{(echo)} {(DQ ("Error: argument '") ($ Id.VSub_Number '$1') ("' not supported"))}]
              redirects: [
                (redir.Redir
                  op: (Token id:Id.Redir_GreatAnd val:'>&' span_id:469)
                  fd: -1
                  arg_word: {(2)}
                )
              ]
            )
            (command.ControlFlow
              token: (Token id:Id.ControlFlow_Exit val:exit span_id:473)
              arg_word: {(3)}
            )
          ]
          spids: [453 458 478 -1]
        )
        (case_arm pat_list:[{(stop)} {(status)}] spids:[481 484 491 -1])
        (case_arm
          pat_list: [{(Id.Lit_Star '*')}]
          action: [
            (command.Simple
              words: [{(echo)} {(DQ ('Usage: mountall.sh [start|stop]'))}]
              redirects: [
                (redir.Redir
                  op: (Token id:Id.Redir_GreatAnd val:'>&' span_id:504)
                  fd: -1
                  arg_word: {(2)}
                )
              ]
            )
            (command.ControlFlow
              token: (Token id:Id.ControlFlow_Exit val:exit span_id:508)
              arg_word: {(3)}
            )
          ]
          spids: [494 495 513 -1]
        )
      ]
    )
    (C {(Id.Lit_Other ':')})
  ]
)