(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PATH spids:[52]) op: Equal rhs: {(/bin) (Lit_Other ':') (/usr/bin) (Lit_Other ':') (/sbin) (Lit_Other ':') (/usr/sbin)} spids: [52] ) ] spids: [52] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DESC spids:[61]) op: Equal rhs: {(DQ ('cron daemon'))} spids: [61] ) ] spids: [61] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:NAME spids:[66]) op: Equal rhs: {(cron)} spids: [66] ) ] spids: [66] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:DAEMON spids:[69]) op: Equal rhs: {(/usr/sbin/cron)} spids: [69] ) ] spids: [69] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:PIDFILE spids:[72]) op: Equal rhs: {(/var/run/crond.pid)} spids: [72] ) ] spids: [72] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:SCRIPTNAME spids:[75]) op: Equal rhs: {(/etc/init.d/) (DQ ($ VSub_DollarName '$NAME'))} spids: [75] ) ] spids: [75] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(test)} {(-f)} {($ VSub_DollarName '$DAEMON')}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (C {(.)} {(/lib/lsb/init-functions)}) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-r)} {(/etc/default/cron)} {(Lit_Other ']')}) (C {(.)} {(/etc/default/cron)}) ] ) (command.FuncDef name: parse_environment body: (command.BraceGroup children: [ (command.ForEach iter_name: ENV_FILE iter_words: [{(/etc/environment)} {(/etc/default/locale)}] do_arg_iter: F body: (command.DoGroup children: [ (command.AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} {(-r)} {(DQ ($ VSub_DollarName '$ENV_FILE'))} {(Lit_Other ']')} ) (command.ControlFlow token: <ControlFlow_Continue continue> ) ] ) (command.AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} {(-s)} {(DQ ($ VSub_DollarName '$ENV_FILE'))} {(Lit_Other ']')} ) (command.ControlFlow token: <ControlFlow_Continue continue> ) ] ) (command.ForEach iter_name: var iter_words: [{(LANG)} {(LANGUAGE)} {(LC_ALL)} {(LC_CTYPE)}] do_arg_iter: F body: (command.DoGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:value spids:[205]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(egrep)} {(DQ ('^') (${ VSub_Name var) ('='))} {(DQ ($ VSub_DollarName '$ENV_FILE'))} ) (C {(tail)} {(-n1)}) (C {(cut)} {(-d) (Lit_Other '=')} {(-f2)}) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [206 235] ) } spids: [205] ) ] spids: [205] ) (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$value'))} {(Lit_Other ']')} ) (C {(eval)} {(export)} {($ VSub_DollarName '$var') (Lit_Other '=') ($ VSub_DollarName '$value') } ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$value'))} {(Lit_Other ']')} ) (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$ENV_FILE'))} {(Lit_Other '=')} {(/etc/environment)} {(Lit_Other ']')} ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (C {(log_warning_msg)} { (DQ ( '/etc/environment has been deprecated for locale information; use /etc/default/locale for ' ) ($ VSub_DollarName '$var') ('=') ($ VSub_DollarName '$value') (' instead') ) } ) ] spids: [16777215 287] ) ] spids: [16777215 301] ) ] spids: [202 304] ) spids: [192 200] ) ] spids: [153 307] ) spids: [147 151] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_DollarName '$TZ'))} {(-a)} {(-e)} {(/etc/timezone)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:TZ spids:[336]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(cat)} {(/etc/timezone)})] ) left_token: <Left_Backtick '`'> spids: [337 341] ) } spids: [336] ) ] spids: [336] ) ] spids: [16777215 333] ) ] spids: [16777215 345] ) ] spids: [139] ) spids: [133 137] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$READ_ENV'))} {(Lit_Other '=')} {(DQ (yes))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [(C {(parse_environment)})] spids: [16777215 371] ) ] spids: [16777215 376] ) (command.Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)}] action: [ (C {(log_daemon_msg)} {(DQ ('Starting periodic command scheduler'))} {(DQ (cron))}) (C {(start_daemon)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')} {($ VSub_DollarName '$EXTRA_OPTS')} ) (C {(log_end_msg)} {($ VSub_QMark '$?')}) ] spids: [388 389 418 16777215] ) (case_arm pat_list: [{(stop)}] action: [ (C {(log_daemon_msg)} {(DQ ('Stopping periodic command scheduler'))} {(DQ (cron))}) (C {(killproc)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:RETVAL spids:[443]) op: Equal rhs: {($ VSub_QMark '$?')} spids: [443] ) ] spids: [443] ) (command.AndOr ops: [Op_DAmp Op_DAmp] children: [ (C {(Lit_Other '[')} {($ VSub_DollarName '$RETVAL')} {(-eq)} {(0)} {(Lit_Other ']')}) (C {(Lit_Other '[')} {(-e)} {(DQ ($ VSub_DollarName '$PIDFILE'))} {(Lit_Other ']')}) (C {(rm)} {(-f)} {($ VSub_DollarName '$PIDFILE')}) ] ) (C {(log_end_msg)} {($ VSub_DollarName '$RETVAL')}) ] spids: [420 421 483 16777215] ) (case_arm pat_list: [{(restart)}] action: [ (C {(log_daemon_msg)} {(DQ ('Restarting periodic command scheduler'))} {(DQ (cron))}) (C {($ VSub_Number '$0')} {(stop)}) (C {($ VSub_Number '$0')} {(start)}) ] spids: [485 486 510 16777215] ) (case_arm pat_list: [{(reload)} {(force-reload)}] action: [ (C {(log_daemon_msg)} {(DQ ('Reloading configuration files for periodic command scheduler'))} {(DQ (cron))} ) (C {(log_end_msg)} {(0)}) ] spids: [512 515 537 16777215] ) (case_arm pat_list: [{(status)}] action: [ (command.AndOr ops: [Op_DAmp Op_DPipe] children: [ (C {(status_of_proc)} {(-p)} {($ VSub_DollarName '$PIDFILE')} {($ VSub_DollarName '$DAEMON')} {($ VSub_DollarName '$NAME')} ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {($ VSub_QMark '$?')} ) ] ) ] spids: [539 540 566 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (C {(log_action_msg)} {(DQ ('Usage: /etc/init.d/cron {start|stop|status|restart|reload|force-reload}'))} ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(2)}) ] spids: [568 569 583 16777215] ) ] spids: [380 386 585] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )