(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PATH) rhs: {(/sbin) (Lit_Other ":") (/bin) (Lit_Other ":") (/usr/sbin) (Lit_Other ":") (/usr/bin)} spids: [41] ) ] spids: [41] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DAEMON) rhs:{(/usr/sbin/irqbalance)} spids:[50])] spids: [50] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:NAME) rhs:{(irqbalance)} spids:[53])] spids: [53] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:SNAME) rhs:{(irqbalance)} spids:[56])] spids: [56] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DESC) rhs:{(DQ ("SMP IRQ Balancer"))} spids:[59])] spids: [59] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PIDFILE) rhs: {(DQ (/var/run/) ($ VSub_Name "$NAME") (.pid))} spids: [64] ) ] spids: [64] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:PNAME) rhs:{(DQ (irqbalance))} spids:[71])] spids: [71] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DOPTIONS) rhs:{(DQ )} spids:[76])] spids: [76] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:ENABLED) rhs:{(0)} spids:[84])] spids: [84] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:OPTIONS) rhs:{(DQ )} spids:[87])] spids: [87] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:ONESHOT) rhs:{(0)} spids:[91])] spids: [91] ) (AndOr children: [(C {(test)} {(-x)} {($ VSub_Name "$DAEMON")}) (C {(exit)} {(0)})] op_id: Op_DPipe ) (C {(.)} {(/lib/lsb/init-functions)}) (AndOr children: [(C {(test)} {(-f)} {(/etc/default/irqbalance)}) (C {(.)} {(/etc/default/irqbalance)})] op_id: Op_DAmp ) (AndOr children: [ (C {(test)} {(DQ ($ VSub_Name "$ENABLED"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ (0))}) (C {(exit)} {(0)}) ] op_id: Op_DPipe ) (If arms: [ (if_arm cond: (Sentence command: (C {(test)} {(DQ ($ VSub_Name "$ONESHOT"))} {(KW_Bang "!") (Lit_Other "=")} {(DQ (0))}) terminator: <Op_Semi ";"> ) action: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LeftVar name:DOPTIONS) rhs:{(DQ (--oneshot))} spids:[165])] spids: [165] ) spids: [-1 162] ) ] spids: [-1 170] ) (Case to_match: {(DQ ($ VSub_Number "$1"))} arms: [ (case_arm pat_list: [{(start)}] action: (CommandList children: [ (C {(log_begin_msg)} {(DQ ("Starting ") ($ VSub_Name "$DESC") (": ") ($ VSub_Name "$NAME"))} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:pid) rhs: { (CommandSubPart command_list: (C {(pidofproc)} {(-p)} {($ VSub_Name "$PIDFILE")} {($ VSub_Name "$DAEMON")} ) spids: [198 208] ) } spids: [197] ) ] spids: [197] ) (If arms: [ (if_arm cond: (Sentence command: (C {(Lit_Other "[")} {(-n)} {(DQ ($ VSub_Name "$pid"))} {(Lit_Other "]")}) terminator: <Op_Semi ";"> ) action: (CommandList children: [ (C {(log_begin_msg)} {(DQ (". Already running"))}) (C {(log_end_msg)} {(0)}) (C {(exit)} {(0)}) ] ) spids: [-1 225] ) ] spids: [-1 245] ) (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--oknodo)} {(--exec)} {($ VSub_Name "$DAEMON")} {(--)} {(--pid) (Lit_Other "=") ($ VSub_Name "$PIDFILE")} {($ VSub_Name "$OPTIONS")} {($ VSub_Name "$DOPTIONS")} ) (C {(log_end_msg)} {($ VSub_QMark "$?")}) ] ) spids: [182 183 278 -1] ) (case_arm pat_list: [{(stop)}] action: (CommandList children: [ (C {(log_begin_msg)} {(DQ ("Stopping ") ($ VSub_Name "$DESC") (": ") ($ VSub_Name "$NAME"))} ) (C {(start-stop-daemon)} {(--stop)} {(--quiet)} {(--oknodo)} {(--exec)} {($ VSub_Name "$DAEMON")} ) (C {(rm)} {(-f)} {($ VSub_Name "$PIDFILE")}) (C {(log_end_msg)} {($ VSub_QMark "$?")}) ] ) spids: [281 282 322 -1] ) (case_arm pat_list: [{(restart)} {(force-reload)}] action: (CommandList children: [ (C {(log_begin_msg)} {(DQ ("Restarting ") ($ VSub_Name "$DESC") (": ") ($ VSub_Name "$NAME"))} ) (C {(start-stop-daemon)} {(--stop)} {(--retry)} {(5)} {(--quiet)} {(--oknodo)} {(--exec)} {($ VSub_Name "$DAEMON")} ) (C {(rm)} {(-f)} {($ VSub_Name "$PIDFILE")}) (C {(start-stop-daemon)} {(--start)} {(--quiet)} {(--oknodo)} {(--exec)} {($ VSub_Name "$DAEMON")} {(--)} {(--pid) (Lit_Other "=") ($ VSub_Name "$PIDFILE")} {($ VSub_Name "$OPTIONS")} {($ VSub_Name "$DOPTIONS")} ) (C {(log_end_msg)} {($ VSub_QMark "$?")}) ] ) spids: [325 328 396 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:N) rhs: {(/etc/init.d/) ($ VSub_Name "$SNAME")} spids: [403] ) ] spids: [403] ) (SimpleCommand words: [ {(echo)} {(DQ ("Usage: ") ($ VSub_Name "$N") (" {start|stop|restart|force-reload}"))} ] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[416])] ) (C {(exit)} {(1)}) ] ) spids: [399 400 425 -1] ) ] spids: [173 179 427] ) (C {(exit)} {(0)}) ] )