(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PATH='> name:PATH) op: assign_op.Equal rhs: {<'/sbin'> <Id.Lit_Colon ':'> <'/bin'> <Id.Lit_Colon ':'> <'/usr/sbin'> <Id.Lit_Colon ':'> <'/usr/bin'> } spids: [41] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DAEMON='> name:DAEMON) op: assign_op.Equal rhs: {<'/usr/sbin/irqbalance'>} spids: [50] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'NAME='> name:NAME) op: assign_op.Equal rhs: {<irqbalance>} spids: [53] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'SNAME='> name:SNAME) op: assign_op.Equal rhs: {<irqbalance>} spids: [56] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DESC='> name:DESC) op: assign_op.Equal rhs: {(DQ <'SMP IRQ Balancer'>)} spids: [59] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PIDFILE='> name:PIDFILE) op: assign_op.Equal rhs: {(DQ <'/var/run/'> ($ Id.VSub_DollarName NAME) <.pid>)} spids: [64] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PNAME='> name:PNAME) op: assign_op.Equal rhs: {(DQ <irqbalance>)} spids: [71] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DOPTIONS='> name:DOPTIONS) op: assign_op.Equal rhs: {(DQ )} spids: [76] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ENABLED='> name:ENABLED) op: assign_op.Equal rhs: {<0>} spids: [84] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OPTIONS='> name:OPTIONS) op: assign_op.Equal rhs: {(DQ )} spids: [87] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ONESHOT='> name:ONESHOT) op: assign_op.Equal rhs: {<0>} spids: [91] ) ] redirects: [] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-x>} {($ Id.VSub_DollarName DAEMON)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ) (C {<.>} {<'/lib/lsb/init-functions'>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-f>} {<'/etc/default/irqbalance'>}) (C {<.>} {<'/etc/default/irqbalance'>}) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {(DQ ($ Id.VSub_DollarName ENABLED))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <0>)} ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {(DQ ($ Id.VSub_DollarName ONESHOT))} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <0>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DOPTIONS='> name:DOPTIONS) op: assign_op.Equal rhs: {(DQ <--oneshot>)} spids: [165] ) ] redirects: [] ) ] spids: [146 162] ) ] else_action: [] redirects: [] ) (command.Case to_match: {(DQ ($ Id.VSub_Number 1))} arms: [ (case_arm pat_list: [{<start>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-x>} {<'/usr/bin/systemd-detect-virt'>} {<Id.Lit_RBracket ']'>} ) (C {<'/usr/bin/systemd-detect-virt'>} {<--quiet>} {<--container>}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<log_daemon_msg>} {(DQ <'Not starting '> ($ Id.VSub_DollarName NAME) <' in container'>)} ) (C {<log_end_msg>} {<0>}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<0>} ) ] spids: [186 205] ) ] else_action: [] redirects: [] ) (C {<log_begin_msg>} {(DQ <'Starting '> ($ Id.VSub_DollarName DESC) <': '> ($ Id.VSub_DollarName NAME))} ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'pid='> name:pid) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<pidofproc>} {<-p>} {($ Id.VSub_DollarName PIDFILE)} {($ Id.VSub_DollarName DAEMON)} ) right: <Id.Eof_RParen _> ) } spids: [242] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<-n>} {(DQ ($ Id.VSub_DollarName pid))} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<log_begin_msg>} {(DQ <'. Already running'>)}) (C {<log_end_msg>} {<0>}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<0>} ) ] spids: [256 270] ) ] else_action: [] redirects: [] ) (C {<start-stop-daemon>} {<--start>} {<--quiet>} {<--oknodo>} {<--exec>} {($ Id.VSub_DollarName DAEMON)} {<-->} {<--pid> <Id.Lit_Equals '='> ($ Id.VSub_DollarName PIDFILE)} {($ Id.VSub_DollarName OPTIONS)} {($ Id.VSub_DollarName DOPTIONS)} ) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [182 183 323 -1] ) (case_arm pat_list: [{<stop>}] action: [ (C {<log_begin_msg>} {(DQ <'Stopping '> ($ Id.VSub_DollarName DESC) <': '> ($ Id.VSub_DollarName NAME))} ) (C {<start-stop-daemon>} {<--stop>} {<--quiet>} {<--oknodo>} {<--exec>} {($ Id.VSub_DollarName DAEMON)} ) (C {<rm>} {<-f>} {($ Id.VSub_DollarName PIDFILE)}) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [326 327 367 -1] ) (case_arm pat_list: [{<restart>} {<force-reload>}] action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<Id.Lit_LBracket '['>} {<-x>} {<'/usr/bin/systemd-detect-virt'>} {<Id.Lit_RBracket ']'>} ) (C {<'/usr/bin/systemd-detect-virt'>} {<--quiet>} {<--container>}) ] ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<log_daemon_msg>} {(DQ <'Not restarting '> ($ Id.VSub_DollarName NAME) <' in container'>)} ) (C {<log_end_msg>} {<0>}) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<0>} ) ] spids: [376 395] ) ] else_action: [] redirects: [] ) (C {<log_begin_msg>} {(DQ <'Restarting '> ($ Id.VSub_DollarName DESC) <': '> ($ Id.VSub_DollarName NAME))} ) (C {<start-stop-daemon>} {<--stop>} {<--retry>} {<5>} {<--quiet>} {<--oknodo>} {<--exec>} {($ Id.VSub_DollarName DAEMON)} ) (C {<rm>} {<-f>} {($ Id.VSub_DollarName PIDFILE)}) (C {<start-stop-daemon>} {<--start>} {<--quiet>} {<--oknodo>} {<--exec>} {($ Id.VSub_DollarName DAEMON)} {<-->} {<--pid> <Id.Lit_Equals '='> ($ Id.VSub_DollarName PIDFILE)} {($ Id.VSub_DollarName OPTIONS)} {($ Id.VSub_DollarName DOPTIONS)} ) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [370 373 486 -1] ) (case_arm pat_list: [{<status>}] action: [(C {<status_of_proc>} {($ Id.VSub_DollarName DAEMON)} {($ Id.VSub_DollarName NAME)})] spids: [489 490 500 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'N='> name:N) op: assign_op.Equal rhs: {<'/etc/init.d/'> ($ Id.VSub_DollarName SNAME)} spids: [507] ) ] redirects: [] ) (command.Simple words: [ {<echo>} {(DQ <'Usage: '> ($ Id.VSub_DollarName N) <' {start|stop|restart|force-reload}'>)} ] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] more_env: [] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [503 504 529 -1] ) ] redirects: [] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] )