(CommandList
  children: [
    (AndOr
      children: [(C {(Lit_Other "[")} {(-x)} {(/sbin/resolvconf)} {(Lit_Other "]")}) (C {(exit)} {(0)})]
      op_id: Op_DPipe
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LeftVar name:PATH) rhs:{(/sbin) (Lit_Other ":") (/bin)} spids:[86])]
      spids: [86]
    )
    (C {(.)} {(/lib/lsb/init-functions)})
    (FuncDef
      name: log_action_end_msg_and_exit
      body: 
        (BraceGroup
          children: [
            (C {(log_action_end_msg)} {(DQ ($ VSub_Number "$1"))} 
              {
                (BracedVarSub
                  token: <VSub_Number 2>
                  suffix_op: (StringUnary op_id:VTest_ColonPlus arg_word:{(DQ ($ VSub_Number "$2"))})
                  spids: [116 122]
                )
              }
            )
            (C {(exit)} {($ VSub_Number "$1")})
          ]
          spids: [107]
        )
      spids: [103 106]
    )
    (Case
      to_match: {(DQ ($ VSub_Number "$1"))}
      arms: [
        (case_arm
          pat_list: [{(start)}]
          action: 
            (CommandList
              children: [
                (C {(log_action_begin_msg)} {(DQ ("Setting up resolvconf"))})
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--wipe-runtime-directories)})
                    (C {(log_action_end_msg_and_exit)} {(1)} 
                      {(DQ ("failed to delete the old contents of run-time directories"))}
                    )
                  ]
                  op_id: Op_DPipe
                )
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--create-runtime-directories)})
                    (C {(log_action_end_msg_and_exit)} {(1)} 
                      {(DQ ("failed to create run-time directories"))}
                    )
                  ]
                  op_id: Op_DPipe
                )
                (AndOr
                  children: [
                    (C {(resolvconf)} {(-u)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed requesting update"))})
                  ]
                  op_id: Op_DPipe
                )
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--enable-updates)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed to enable updates"))})
                  ]
                  op_id: Op_DPipe
                )
                (C {(log_action_end_msg_and_exit)} {(0)})
              ]
            )
          spids: [141 142 241 -1]
        )
        (case_arm
          pat_list: [{(stop)}]
          action: 
            (CommandList
              children: [
                (C {(log_action_begin_msg)} {(DQ ("Stopping resolvconf"))})
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--disable-updates)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed to disable updates"))})
                  ]
                  op_id: Op_DPipe
                )
                (C {(log_action_end_msg_and_exit)} {(0)})
              ]
            )
          spids: [244 245 279 -1]
        )
        (case_arm
          pat_list: [{(restart)}]
          action: 
            (CommandList
              children: [
                (C {(log_action_begin_msg)} {(DQ ("Restarting resolvconf"))})
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--enable-updates)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed to enable updates"))})
                  ]
                  op_id: Op_DPipe
                )
                (C {(log_action_end_msg_and_exit)} {(0)})
              ]
            )
          spids: [282 283 313 -1]
        )
        (case_arm
          pat_list: [{(reload)} {(force-reload)}]
          action: 
            (CommandList
              children: [
                (AndOr
                  children: [
                    (C {(resolvconf)} {(-u)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed to update"))})
                  ]
                  op_id: Op_DPipe
                )
                (C {(exit)} {(0)})
              ]
            )
          spids: [316 319 342 -1]
        )
        (case_arm
          pat_list: [{(enable-updates)}]
          action: 
            (CommandList
              children: [
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--enable-updates)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed to enable updates"))})
                  ]
                  op_id: Op_DPipe
                )
                (C {(exit)} {(0)})
              ]
            )
          spids: [345 346 369 -1]
        )
        (case_arm
          pat_list: [{(disable-updates)}]
          action: 
            (CommandList
              children: [
                (AndOr
                  children: [
                    (C {(resolvconf)} {(--disable-updates)})
                    (C {(log_action_end_msg_and_exit)} {(1)} {(DQ ("failed to disable updates"))})
                  ]
                  op_id: Op_DPipe
                )
                (C {(exit)} {(0)})
              ]
            )
          spids: [372 373 396 -1]
        )
        (case_arm
          pat_list: [{(status)}]
          action: 
            (CommandList
              children: [
                (If
                  arms: [
                    (if_arm
                      cond: 
                        (Sentence
                          command: (C {(resolvconf)} {(--updates-are-enabled)})
                          terminator: <Op_Semi ";">
                        )
                      action: (C {(log_success_msg)} {(DQ ("resolvconf updates are enabled"))})
                      spids: [-1 411]
                    )
                  ]
                  else_action: (C {(log_failure_msg)} {(DQ ("resolvconf updates are disabled"))})
                  spids: [421 431]
                )
                (C {(exit)} {(0)})
              ]
            )
          spids: [399 400 439 -1]
        )
        (case_arm
          pat_list: [{(Lit_Other "*")}]
          action: 
            (CommandList
              children: [
                (SimpleCommand
                  words: [
                    {(echo)}
                    {
                      (DQ 
                        (
"Usage: /etc/init.d/resolvconf {start|stop|restart|reload|force-reload|enable-updates|disable-updates|status}"
                        )
                      )
                    }
                  ]
                  redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[452])]
                )
                (C {(exit)} {(3)})
              ]
            )
          spids: [442 443 461 -1]
        )
      ]
      spids: [132 138 463]
    )
    (C {(exit)} {(99)})
  ]
)