(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DAEMON spids:[55]) op: Equal rhs: {(/usr/sbin/cups-browsed)} spids: [55] ) ] spids: [55] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:NAME spids:[58]) op: Equal rhs: {(cups-browsed)} spids: [58] ) ] spids: [58] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PIDFILE spids:[61]) op: Equal rhs: {(/var/run/cups/) ($ VSub_DollarName '$NAME') (.pid)} spids: [61] ) ] spids: [61] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DESC spids:[66]) op: Equal rhs: {(DQ ('CUPS Bonjour daemon'))} spids: [66] ) ] spids: [66] ) (C {(unset)} {(TMPDIR)}) (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.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:SSD_OPTIONS spids:[95]) op: Equal rhs: {(DQ ('--quiet --pidfile ') ($ VSub_DollarName '$PIDFILE') (' --make-pidfile'))} spids: [95] ) ] spids: [95] ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)}] action: [ (C {(log_begin_msg)} {(DQ ('Starting ') ($ VSub_DollarName '$DESC') (': ') ($ VSub_DollarName '$NAME'))} ) (C {(mkdir)} {(-p)} { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(dirname)} {(DQ ($ VSub_DollarName '$PIDFILE'))})] ) left_token: <Left_Backtick '`'> spids: [131 137] ) } ) (C {(start-stop-daemon)} {(--start)} {(--oknodo)} {(--background)} {($ VSub_DollarName '$SSD_OPTIONS')} {(--exec)} {($ VSub_DollarName '$DAEMON')} ) (C {(log_end_msg)} {($ VSub_QMark '$?')}) ] spids: [112 113 160 16777215] ) (case_arm pat_list: [{(stop)}] action: [ (C {(log_begin_msg)} {(DQ ('Stopping ') ($ VSub_DollarName '$DESC') (': ') ($ VSub_DollarName '$NAME'))} ) (C {(start-stop-daemon)} {(--stop)} {(--retry)} {(5)} {(--oknodo)} {($ VSub_DollarName '$SSD_OPTIONS')} {(--name)} {($ VSub_DollarName '$NAME')} ) (C {(log_end_msg)} {($ VSub_QMark '$?')}) (C {(rm)} {(-f)} {($ VSub_DollarName '$PIDFILE')}) ] spids: [163 164 206 16777215] ) (case_arm pat_list: [{(restart)} {(force-reload)}] action: [ (C {(log_begin_msg)} {(DQ ('Restarting ') ($ VSub_DollarName '$DESC') (': ') ($ VSub_DollarName '$NAME'))} ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(start-stop-daemon)} {(--stop)} {(--retry)} {(5)} {(--oknodo)} {($ VSub_DollarName '$SSD_OPTIONS')} {(--name)} {($ VSub_DollarName '$NAME')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(start-stop-daemon)} {(--start)} {(--background)} {($ VSub_DollarName '$SSD_OPTIONS')} {(--exec)} {($ VSub_DollarName '$DAEMON')} ) ] spids: [16777215 244] ) ] spids: [16777215 260] ) (C {(log_end_msg)} {($ VSub_QMark '$?')}) ] spids: [209 212 268 16777215] ) (case_arm pat_list: [{(status)}] action: [ (command.AndOr ops: [Op_DAmp Op_DPipe] children: [ (C {(status_of_proc)} {(DQ ($ VSub_DollarName '$DAEMON'))} {(DQ ($ VSub_DollarName '$NAME'))} ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {($ VSub_QMark '$?')} ) ] ) ] spids: [271 272 298 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:N spids:[305]) op: Equal rhs: {(/etc/init.d/) (word_part.BracedVarSub token: <VSub_Number 0> suffix_op: (suffix_op.StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [307 312] ) } spids: [305] ) ] spids: [305] ) (command.SimpleCommand words: [ {(echo)} { (DQ ('Usage: ') ($ VSub_DollarName '$N') (' {start|stop|force-reload|restart|status}') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [301 302 332 16777215] ) ] spids: [103 109 334] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )