(command.CommandList
  children: [
    (C {(.)} {(/lib/lsb/init-functions)})
    (C {(.)} {(/lib/init/vars.sh)})
    (C {(.)} {(/lib/init/mount-functions.sh)})
    (command.FuncDef
      name: do_wait_async_mount
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:waitnfs spids:[76])
                  op: Equal
                  rhs: (word.EmptyWord)
                  spids: [76]
                )
              ]
              spids: [76]
            )
            (command.ForEach
              iter_name: file
              iter_words: [
                {
                  (DQ 
                    (word_part.CommandSubPart
                      command_list: 
                        (command.CommandList
                          children: [
                            (C {(eval)} {(ls)} 
                              {
                                (word_part.CommandSubPart
                                  command_list: (command.CommandList children:[(C {(fstab_files)})])
                                  left_token: <Left_CommandSub '$('>
                                  spids: [91 93]
                                )
                              }
                            )
                          ]
                        )
                      left_token: <Left_CommandSub '$('>
                      spids: [86 94]
                    )
                  )
                }
              ]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (C {(Lit_Other '[')} {(-f)} {(DQ ($ VSub_DollarName '$file'))} 
                                  {(Lit_Other ']')}
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (command.WhileUntil
                              keyword: <KW_While while>
                              cond: [
                                (command.Sentence
                                  child: (C {(read)} {(DEV)} {(MTPT)} {(FSTYPE)} {(OPTS)} {(REST)})
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              body: 
                                (command.DoGroup
                                  children: [
                                    (command.Case
                                      to_match: {(DQ ($ VSub_DollarName '$DEV'))}
                                      arms: [
                                        (case_arm
                                          pat_list: [
                                            {(DQ )}
                                            {
                                              (word_part.EscapedLiteralPart
                                                token: <Lit_EscapedChar '\\#'>
                                              ) (Lit_Other '*')
                                            }
                                          ]
                                          action: [
                                            (command.ControlFlow
                                              token: <ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [144 149 155 16777215]
                                        )
                                      ]
                                      spids: [135 141 158]
                                    )
                                    (command.Case
                                      to_match: {(DQ ($ VSub_DollarName '$OPTS'))}
                                      arms: [
                                        (case_arm
                                          pat_list: [
                                            {(noauto)}
                                            {(Lit_Other '*') (Lit_Comma ',') (noauto)}
                                            {(noauto) (Lit_Comma ',') (Lit_Other '*')}
                                            {(Lit_Other '*') (Lit_Comma ',') (noauto) (Lit_Comma ',') 
                                              (Lit_Other '*')
                                            }
                                          ]
                                          action: [
                                            (command.ControlFlow
                                              token: <ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [170 185 191 16777215]
                                        )
                                      ]
                                      spids: [161 167 194]
                                    )
                                    (command.Case
                                      to_match: {(DQ ($ VSub_DollarName '$FSTYPE'))}
                                      arms: [
                                        (case_arm
                                          pat_list: [
                                            {(nfs)}
                                            {(nfs4)}
                                            {(smbfs)}
                                            {(cifs)}
                                            {(coda)}
                                            {(ncp)}
                                            {(ncpfs)}
                                            {(ocfs2)}
                                            {(gfs)}
                                            {(ceph)}
                                          ]
                                          spids: [206 225 228 16777215]
                                        )
                                        (case_arm
                                          pat_list: [{(Lit_Other '*')}]
                                          action: [
                                            (command.ControlFlow
                                              token: <ControlFlow_Continue continue>
                                            )
                                          ]
                                          spids: [231 232 238 16777215]
                                        )
                                      ]
                                      spids: [197 203 241]
                                    )
                                    (command.Case
                                      to_match: {(DQ ($ VSub_DollarName '$MTPT'))}
                                      arms: [
                                        (case_arm
                                          pat_list: [{(/usr/local)} {(/usr/local/) (Lit_Other '*')}]
                                          spids: [253 257 260 16777215]
                                        )
                                        (case_arm
                                          pat_list: [{(/usr)} {(/usr/) (Lit_Other '*')}]
                                          action: [
                                            (command.Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (lhs_expr.LhsName name:waitnfs spids:[270])
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (DQ ($ VSub_DollarName '$waitnfs') (' ') 
                                                        ($ VSub_DollarName '$MTPT')
                                                      )
                                                    }
                                                  spids: [270]
                                                )
                                              ]
                                              spids: [270]
                                            )
                                          ]
                                          spids: [263 267 278 16777215]
                                        )
                                        (case_arm
                                          pat_list: [{(/var)} {(/var/) (Lit_Other '*')}]
                                          action: [
                                            (command.Assignment
                                              keyword: Assign_None
                                              pairs: [
                                                (assign_pair
                                                  lhs: (lhs_expr.LhsName name:waitnfs spids:[288])
                                                  op: Equal
                                                  rhs: 
                                                    {
                                                      (DQ ($ VSub_DollarName '$waitnfs') (' ') 
                                                        ($ VSub_DollarName '$MTPT')
                                                      )
                                                    }
                                                  spids: [288]
                                                )
                                              ]
                                              spids: [288]
                                            )
                                          ]
                                          spids: [281 285 296 16777215]
                                        )
                                      ]
                                      spids: [244 250 299]
                                    )
                                  ]
                                  spids: [132 302]
                                )
                              redirects: [
                                (redir.Redir
                                  op: <Redir_Less '<'>
                                  fd: 16777215
                                  arg_word: {(DQ ($ VSub_DollarName '$file'))}
                                )
                              ]
                            )
                          ]
                          spids: [16777215 114]
                        )
                      ]
                      spids: [16777215 311]
                    )
                  ]
                  spids: [98 314]
                )
              spids: [84 96]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:TIMEOUT spids:[326])
                  op: Equal
                  rhs: {(900)}
                  spids: [326]
                )
              ]
              spids: [326]
            )
            (command.ForEach
              iter_name: mountpt
              iter_words: [{($ VSub_DollarName '$waitnfs')}]
              do_arg_iter: F
              body: 
                (command.DoGroup
                  children: [
                    (C {(log_action_begin_msg)} {(DQ ('Waiting for ') ($ VSub_DollarName '$mountpt'))})
                    (command.WhileUntil
                      keyword: <KW_While while>
                      cond: [
                        (command.Sentence
                          child: 
                            (command.Pipeline
                              children: [(C {(mountpoint)} {(-q)} {($ VSub_DollarName '$mountpt')})]
                              negated: T
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      body: 
                        (command.DoGroup
                          children: [
                            (C {(sleep)} {(0.1)})
                            (command.Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (lhs_expr.LhsName name:TIMEOUT spids:[371])
                                  op: Equal
                                  rhs: 
                                    {
                                      (word_part.ArithSubPart
                                        anode: 
                                          (arith_expr.ArithBinary
                                            op_id: Arith_Minus
                                            left: 
                                              (arith_expr.ArithWord
                                                w: {($ VSub_DollarName '$TIMEOUT')}
                                              )
                                            right: (arith_expr.ArithWord w:{(Lit_Digits 1)})
                                          )
                                        spids: [372 381]
                                      )
                                    }
                                  spids: [371]
                                )
                              ]
                              spids: [371]
                            )
                            (command.If
                              arms: [
                                (if_arm
                                  cond: [
                                    (command.Sentence
                                      child: 
                                        (C {(Lit_Other '[')} {($ VSub_DollarName '$TIMEOUT')} {(-le)} 
                                          {(0)} {(Lit_Other ']')}
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (C {(log_action_end_msg)} {(1)})
                                    (command.ControlFlow
                                      token: <ControlFlow_Break break>
                                    )
                                  ]
                                  spids: [16777215 397]
                                )
                              ]
                              spids: [16777215 408]
                            )
                          ]
                          spids: [362 411]
                        )
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (C {(Lit_Other '[')} {($ VSub_DollarName '$TIMEOUT')} {(-gt)} {(0)} 
                                  {(Lit_Other ']')}
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [(C {(log_action_end_msg)} {(0)})]
                          spids: [16777215 428]
                        )
                      ]
                      spids: [16777215 436]
                    )
                  ]
                  spids: [339 439]
                )
              spids: [335 337]
            )
          ]
          spids: [60]
        )
      spids: [56 59]
    )
    (command.Case
      to_match: {(DQ ($ VSub_Number '$1'))}
      arms: [
        (case_arm
          pat_list: [{(start)}]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {(no)} {(KW_Bang '!') (Lit_Other '=')} 
                          {(DQ ($ VSub_DollarName '$ASYNCMOUNTNFS'))} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(do_wait_async_mount)})]
                  spids: [16777215 486]
                )
              ]
              else_action: [
                (command.SimpleCommand
                  words: [{(/etc/network/if-up.d/mountnfs)}]
                  more_env: [(env_pair name:FROMINITD val:{(yes)} spids:[495])]
                )
              ]
              spids: [492 501]
            )
          ]
          spids: [453 454 504 16777215]
        )
        (case_arm
          pat_list: [{(restart)} {(reload)} {(force-reload)}]
          action: [
            (command.SimpleCommand
              words: [{(echo)} {(DQ ("Error: argument '") ($ VSub_Number '$1') ("' not supported"))}]
              redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
            )
            (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)})
          ]
          spids: [507 512 532 16777215]
        )
        (case_arm pat_list:[{(stop)} {(status)}] spids:[535 538 545 16777215])
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [
            (command.SimpleCommand
              words: [{(echo)} {(DQ ('Usage: ') ($ VSub_Number '$0') (' start|stop'))}]
              redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})]
            )
            (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)})
          ]
          spids: [548 549 569 16777215]
        )
      ]
      spids: [444 450 571]
    )
    (C {(Lit_Other ':')})
  ]
)