(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PATH) op: assign_op.Equal rhs: {(/sbin) (Id.Lit_Other ':') (/usr/sbin) (Id.Lit_Other ':') (/bin) (Id.Lit_Other ':') (/usr/bin) } spids: [31] ) ] ) (C {(.)} {(/lib/lsb/init-functions)}) (command.ShFunction name: do_stop body: (command.BraceGroup children: [ (C {(log_action_msg)} {(DQ ('Will now restart'))}) (C {(reboot)} {(-d)} {(-f)} {(-i)}) ] ) ) (command.Case to_match: {(DQ ($ Id.VSub_Number '$1'))} arms: [ (case_arm pat_list:[{(start)}] spids:[89 90 97 -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:116) fd: -1 arg_word: {(2)} ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Exit val:exit span_id:120) arg_word: {(3)} ) ] spids: [100 105 125 -1] ) (case_arm pat_list:[{(stop)}] action:[(C {(do_stop)})] spids:[128 129 135 -1]) (case_arm pat_list: [{(status)}] action: [ (command.ControlFlow token: (Token id:Id.ControlFlow_Exit val:exit span_id:142) arg_word: {(0)} ) ] spids: [138 139 147 -1] ) (case_arm pat_list: [{(Id.Lit_Star '*')}] action: [ (command.Simple words: [{(echo)} {(DQ ('Usage: ') ($ Id.VSub_Number '$0') (' start|stop'))}] redirects: [ (redir.Redir op: (Token id:Id.Redir_GreatAnd val:'>&' span_id:162) fd: -1 arg_word: {(2)} ) ] ) (command.ControlFlow token: (Token id:Id.ControlFlow_Exit val:exit span_id:166) arg_word: {(3)} ) ] spids: [150 151 171 -1] ) ] ) ] )