(command.CommandList children: [ (C {(set)} {(-e)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PATH spids:[44]) op: Equal rhs: {(/bin) (Lit_Other ':') (/usr/bin) (Lit_Other ':') (/sbin) (Lit_Other ':') (/usr/sbin)} spids: [44] ) ] spids: [44] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DAEMON spids:[53]) op: Equal rhs: {(/usr/sbin/uuidd)} spids: [53] ) ] spids: [53] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:UUIDD_USER spids:[56]) op: Equal rhs: {(uuidd)} spids: [56] ) ] spids: [56] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:UUIDD_GROUP spids:[59]) op: Equal rhs: {(uuidd)} spids: [59] ) ] spids: [59] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:UUIDD_DIR spids:[62]) op: Equal rhs: {(/run/uuidd)} spids: [62] ) ] spids: [62] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PIDFILE spids:[65]) op: Equal rhs: {($ VSub_DollarName '$UUIDD_DIR') (/uuidd.pid)} spids: [65] ) ] spids: [65] ) (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.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)}] action: [ (C {(log_daemon_msg)} {(DQ ('Starting uuid generator'))} {(DQ (uuidd))}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [(C {(test)} {(-d)} {($ VSub_DollarName '$UUIDD_DIR')})] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (C {(mkdir)} {(-p)} {($ VSub_DollarName '$UUIDD_DIR')}) (C {(chown)} {(-R)} {($ VSub_DollarName '$UUIDD_USER') (Lit_Other ':') ($ VSub_DollarName '$UUIDD_GROUP') } {($ VSub_DollarName '$UUIDD_DIR')} ) ] spids: [16777215 123] ) ] spids: [16777215 144] ) (C {(start_daemon)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')}) (C {(log_end_msg)} {($ VSub_QMark '$?')}) ] spids: [97 98 161 16777215] ) (case_arm pat_list: [{(stop)}] action: [ (C {(log_daemon_msg)} {(DQ ('Stopping uuid generator'))} {(DQ (uuidd))}) (C {(killproc)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')}) (C {(log_end_msg)} {($ VSub_QMark '$?')}) ] spids: [164 165 193 16777215] ) (case_arm pat_list: [{(status)}] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.SimpleCommand words: [ {(pidofproc)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')} ] redirects: [ (redir.Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(/dev/null)} ) (redir.Redir op: <Redir_GreatAnd '2>&'> fd: 2 arg_word: {(1)} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (C {(echo)} {(DQ ($ VSub_DollarName '$DAEMON') (' is running'))}) terminator: <Op_Semi ';'> ) (command.Sentence child: (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) terminator: <Op_Semi ';'> ) ] spids: [16777215 217] ) ] else_action: [ (command.Sentence child: (C {(echo)} {(DQ ($ VSub_DollarName '$DAEMON') (' is NOT running'))}) terminator: <Op_Semi ';'> ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(test)} {(-f)} {($ VSub_DollarName '$PIDFILE')}) terminator: <Op_Semi ';'> ) ] action: [ (command.Sentence child: (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(2)}) terminator: <Op_Semi ';'> ) ] spids: [16777215 256] ) ] spids: [16777215 263] ) (command.Sentence child: (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) terminator: <Op_Semi ';'> ) ] spids: [235 272] ) ] spids: [196 197 275 16777215] ) (case_arm pat_list: [{(force-reload)} {(restart)}] action: [(C {($ VSub_Number '$0')} {(stop)}) (C {($ VSub_Number '$0')} {(start)})] spids: [278 281 294 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (C {(echo)} {(DQ ('Usage: /etc/init.d/uuidd {start|stop|restart|force-reload}'))}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [297 298 313 16777215] ) ] spids: [88 94 315] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )