(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PATH spids:[40]) op: Equal rhs: {(/usr/local/sbin) (Lit_Other ':') (/usr/local/bin) (Lit_Other ':') (/sbin) (Lit_Other ':') (/bin) (Lit_Other ':') (/usr/sbin) (Lit_Other ':') (/usr/bin) } spids: [40] ) ] spids: [40] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DESC spids:[53]) op: Equal rhs: {(DQ ('network connection manager'))} spids: [53] ) ] spids: [53] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:NAME spids:[58]) op: Equal rhs: {(DQ (NetworkManager))} spids: [58] ) ] spids: [58] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DAEMON spids:[64]) op: Equal rhs: {(/usr/sbin/) ($ VSub_DollarName '$NAME')} spids: [64] ) ] spids: [64] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PIDFILE spids:[69]) op: Equal rhs: {(/var/run/) ($ VSub_DollarName '$NAME') (/) ($ VSub_DollarName '$NAME') (.pid)} spids: [69] ) ] spids: [69] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:SCRIPTNAME spids:[77]) op: Equal rhs: {(/etc/init.d/network-manager)} spids: [77] ) ] spids: [77] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(-x)} {($ VSub_DollarName '$DAEMON')}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (C {(.)} {(/lib/lsb/init-functions)}) (command.AndOr ops: [Op_DAmp] children: [ (C {(test)} {(-f)} {(/etc/default/NetworkManager)}) (C {(.)} {(/etc/default/NetworkManager)}) ] ) (command.FuncDef name: d_start body: (command.BraceGroup children: [ (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--pidfile)} {($ VSub_DollarName '$PIDFILE')} {(--exec)} {($ VSub_DollarName '$DAEMON')} {(--)} {($ VSub_DollarName '$DAEMON_OPTS')} ) ] spids: [128] ) spids: [124 127] ) (command.FuncDef name: d_stop body: (command.BraceGroup children: [ (C {(start-stop-daemon)} {(--stop)} {(--retry)} {(5)} {(--quiet)} {(--pidfile)} {($ VSub_DollarName '$PIDFILE')} {(--exec)} {($ VSub_DollarName '$DAEMON')} ) ] spids: [167] ) spids: [163 166] ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)}] action: [ (C {(log_daemon_msg)} {(DQ ('Starting ') ($ VSub_DollarName '$DESC'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (C {(d_start)}) (command.Case to_match: {(DQ ($ VSub_QMark '$?'))} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(log_end_msg)} {(0)})] spids: [231 232 238 16777215] ) (case_arm pat_list: [{(1)}] action: [(C {(log_progress_msg)} {(DQ ('already started'))}) (C {(log_end_msg)} {(0)})] spids: [241 242 255 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [(C {(log_end_msg)} {(1)})] spids: [258 259 265 16777215] ) ] spids: [222 228 268] ) ] spids: [203 204 271 16777215] ) (case_arm pat_list: [{(stop)}] action: [ (C {(log_daemon_msg)} {(DQ ('Stopping ') ($ VSub_DollarName '$DESC'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (C {(d_stop)}) (command.Case to_match: {(DQ ($ VSub_QMark '$?'))} arms: [ (case_arm pat_list: [{(0)}] action: [(C {(log_end_msg)} {(0)})] spids: [302 303 309 16777215] ) (case_arm pat_list: [{(1)}] action: [(C {(log_progress_msg)} {(DQ ('already stopped'))}) (C {(log_end_msg)} {(0)})] spids: [312 313 326 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [(C {(log_end_msg)} {(1)})] spids: [329 330 336 16777215] ) ] spids: [293 299 339] ) ] spids: [274 275 342 16777215] ) (case_arm pat_list: [{(restart)} {(force-reload)}] action: [(C {($ VSub_Number '$0')} {(stop)}) (C {($ VSub_Number '$0')} {(start)})] spids: [345 348 361 16777215] ) (case_arm pat_list: [{(status)}] action: [ (command.AndOr ops: [Op_DAmp Op_DPipe] children: [ (C {(status_of_proc)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')} {($ VSub_DollarName '$NAME')} ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {($ VSub_QMark '$?')} ) ] ) ] spids: [364 365 391 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.SimpleCommand words: [ {(echo)} { (DQ ('Usage: ') ($ VSub_DollarName '$SCRIPTNAME') (' {start|stop|restart|force-reload|status}') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [394 395 415 16777215] ) ] spids: [194 200 417] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )