(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PATH) rhs: {(/sbin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/bin) (Lit_Other ":") (/usr/bin)} spids: [48] ) ] spids: [48] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:DESC) rhs: {(DQ ("Kernel Oops catching service"))} spids: [57] ) ] spids: [57] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:NAME) rhs:{(kerneloops)} spids:[62])] spids: [62] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:DAEMON) rhs: {(/usr/sbin/) ($ VSub_Name "$NAME")} spids: [65] ) ] spids: [65] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PIDFILE) rhs: {(/var/run/) ($ VSub_Name "$NAME") (.pid)} spids: [69] ) ] spids: [69] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:SCRIPTNAME) rhs: {(/etc/init.d/) ($ VSub_Name "$NAME")} spids: [74] ) ] spids: [74] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:ENABLED) rhs:{(1)} spids:[78])] spids: [78] ) (AndOr children: [ (C {(Lit_Other "[")} {(-x)} {(DQ ($ VSub_Name "$DAEMON"))} {(Lit_Other "]")}) (C {(exit)} {(0)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(Lit_Other "[")} {(-r)} {(/etc/default/) ($ VSub_Name "$NAME")} {(Lit_Other "]")}) (C {(.)} {(/etc/default/) ($ VSub_Name "$NAME")}) ] op_id: Op_DAmp ) (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$ENABLED"))} {(Lit_Other "=")} {(DQ (1))} {(Lit_Other "]")} ) (C {(exit)} {(0)}) ] op_id: Op_DPipe ) (C {(.)} {(/lib/init/vars.sh)}) (C {(.)} {(/lib/lsb/init-functions)}) (FuncDef name: do_start body: (BraceGroup children: [ (AndOr children: [ (SimpleCommand words: [ {(start-stop-daemon)} {(--start)} {(--quiet)} {(--chuid)} {(kernoops) (Lit_Other ":") (adm)} {(--pidfile)} {($ VSub_Name "$PIDFILE")} {(--exec)} {($ VSub_Name "$DAEMON")} {(--test)} ] redirects: [(Redirect op_id:Redir_Great arg_word:{(/dev/null)} fd:-1 spids:[221])] ) (C {(return)} {(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--chuid)} {(kernoops) (Lit_Other ":") (adm)} {(--pidfile)} {($ VSub_Name "$PIDFILE")} {(--exec)} {($ VSub_Name "$DAEMON")} {(--)} {($ VSub_Name "$DAEMON_ARGS")} ) (C {(return)} {(2)}) ] op_id: Op_DPipe ) (SimpleCommand words: [{(pidofproc)} {($ VSub_Name "$DAEMON")}] redirects: [ (Redirect op_id: Redir_Great arg_word: {($ VSub_Name "$PIDFILE")} fd: -1 spids: [273] ) ] ) ] spids: [178] ) spids: [174 177] ) (FuncDef name: do_stop body: (BraceGroup children: [ (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--retry) (Lit_Other "=") (TERM/30/KILL/5)} {(--pidfile)} {($ VSub_Name "$PIDFILE")} {(--name)} {($ VSub_Name "$NAME")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:RETVAL) rhs: {(DQ ($ VSub_QMark "$?"))} spids: [335] ) ] spids: [335] ) (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$RETVAL"))} {(Lit_Other "=")} {(2)} {(Lit_Other "]")} ) (C {(return)} {(2)}) ] op_id: Op_DAmp ) (C {(rm)} {(-f)} {($ VSub_Name "$PIDFILE")}) (C {(return)} {(DQ ($ VSub_Name "$RETVAL"))}) ] spids: [293] ) spids: [289 292] ) (Case to_match: {(DQ ($ VSub_Number "$1"))} arms: [ (case_arm pat_list: [{(start)}] action: (CommandList children: [ (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} {(KW_Bang "!") (Lit_Other "=")} {(no)} {(Lit_Other "]")} ) (C {(log_daemon_msg)} {(DQ ("Starting ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) ] op_id: Op_DAmp ) (C {(do_start)}) (Case to_match: {(DQ ($ VSub_QMark "$?"))} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} {(KW_Bang "!") (Lit_Other "=")} {(no)} {(Lit_Other "]")} ) (C {(log_end_msg)} {(0)}) ] op_id: Op_DAmp ) spids: [432 435 456 -1] ) (case_arm pat_list: [{(2)}] action: (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} {(KW_Bang "!") (Lit_Other "=")} {(no)} {(Lit_Other "]")} ) (C {(log_end_msg)} {(1)}) ] op_id: Op_DAmp ) spids: [459 460 481 -1] ) ] spids: [423 429 484] ) ] ) spids: [389 390 487 -1] ) (case_arm pat_list: [{(stop)}] action: (CommandList children: [ (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} {(KW_Bang "!") (Lit_Other "=")} {(no)} {(Lit_Other "]")} ) (C {(log_daemon_msg)} {(DQ ("Stopping ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) ] op_id: Op_DAmp ) (C {(do_stop)}) (Case to_match: {(DQ ($ VSub_QMark "$?"))} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} {(KW_Bang "!") (Lit_Other "=")} {(no)} {(Lit_Other "]")} ) (C {(log_end_msg)} {(0)}) ] op_id: Op_DAmp ) spids: [533 536 557 -1] ) (case_arm pat_list: [{(2)}] action: (AndOr children: [ (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$VERBOSE"))} {(KW_Bang "!") (Lit_Other "=")} {(no)} {(Lit_Other "]")} ) (C {(log_end_msg)} {(1)}) ] op_id: Op_DAmp ) spids: [560 561 582 -1] ) ] spids: [524 530 585] ) ] ) spids: [490 491 588 -1] ) (case_arm pat_list: [{(status)}] action: (AndOr children: [ (C {(status_of_proc)} {(DQ ($ VSub_Name "$DAEMON"))} {(DQ ($ VSub_Name "$NAME"))}) (AndOr children: [(C {(exit)} {(0)}) (C {(exit)} {($ VSub_QMark "$?")})] op_id: Op_DPipe ) ] op_id: Op_DAmp ) spids: [591 592 618 -1] ) (case_arm pat_list: [{(restart)} {(force-reload)}] action: (CommandList children: [ (C {(log_daemon_msg)} {(DQ ("Restarting ") ($ VSub_Name "$DESC"))} {(DQ ($ VSub_Name "$NAME"))} ) (C {(do_stop)}) (Case to_match: {(DQ ($ VSub_QMark "$?"))} arms: [ (case_arm pat_list: [{(0)} {(1)}] action: (CommandList children: [ (C {(do_start)}) (Case to_match: {(DQ ($ VSub_QMark "$?"))} arms: [ (case_arm pat_list: [{(0)}] action: (C {(log_end_msg)} {(0)}) spids: [669 670 676 -1] ) (case_arm pat_list: [{(1)}] action: (C {(log_end_msg)} {(1)}) spids: [679 680 686 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (C {(log_end_msg)} {(1)}) spids: [692 693 699 -1] ) ] spids: [660 666 705] ) ] ) spids: [651 654 708 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (C {(log_end_msg)} {(1)}) spids: [711 712 724 -1] ) ] spids: [642 648 727] ) ] ) spids: [621 624 730 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (CommandList children: [ (SimpleCommand words: [ {(echo)} { (DQ ("Usage: ") ($ VSub_Name "$SCRIPTNAME") (" {start|stop|status|restart|force-reload}") ) } ] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[745])] ) (C {(exit)} {(3)}) ] ) spids: [733 734 754 -1] ) ] spids: [380 386 756] ) (C {(Lit_Other ":")}) ] )