(command.CommandList children: [ (C {<set>} {<-e>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'THERMALD='> name:THERMALD) op: assign_op.Equal rhs: {(DQ <'/usr/sbin/thermald'>)} spids: [39] ) ] redirects: [] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<Id.Lit_LBracket '['>} {<-x>} {(DQ ($ Id.VSub_DollarName THERMALD))} {<Id.Lit_RBracket ']'>}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OPTIONS='> name:OPTIONS) op: assign_op.Equal rhs: {(DQ )} spids: [65] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'MODULES='> name:MODULES) op: assign_op.Equal rhs: {(DQ )} spids: [69] ) ] redirects: [] ) (C {<.>} {<'/lib/lsb/init-functions'>}) (command.Case to_match: {(DQ ($ Id.VSub_Number 1))} arms: [ (case_arm pat_list: [{<start>}] action: [ (C {<log_begin_msg>} {(DQ <'Starting thermald...'>)}) (C {<start-stop-daemon>} {<--start>} {<--quiet>} {<--oknodo>} {<--exec>} {(DQ ($ Id.VSub_DollarName THERMALD))} {<-->} {($ Id.VSub_DollarName OPTIONS)} ) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [91 92 126 -1] ) (case_arm pat_list: [{<stop>}] action: [ (C {<log_begin_msg>} {(DQ <'Stopping thermald...'>)}) (C {<start-stop-daemon>} {<--stop>} {<--quiet>} {<--oknodo>} {<--retry>} {<2>} {<--exec>} {(DQ ($ Id.VSub_DollarName THERMALD))} ) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [129 130 164 -1] ) (case_arm pat_list: [{<restart>}] action: [ (C {($ Id.VSub_Number 0)} {<stop>}) (C {<sleep>} {<1>}) (C {($ Id.VSub_Number 0)} {<start>}) ] spids: [167 168 186 -1] ) (case_arm pat_list: [{<reload>} {<force-reload>}] action: [ (C {<log_begin_msg>} {(DQ <'Reloading thermald...'>)}) (C {<start-stop-daemon>} {<--stop>} {<--signal>} {<1>} {<--exec>} {(DQ ($ Id.VSub_DollarName THERMALD))} ) (C {<log_end_msg>} {($ Id.VSub_QMark '?')}) ] spids: [189 192 223 -1] ) (case_arm pat_list: [{<Id.Lit_Star '*'>}] action: [ (C {<log_success_msg>} {(DQ <'Usage: /etc/init.d/thermald {start|stop|restart|reload|force-reload}'>)} ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [226 227 -1 241] ) ] redirects: [] ) ] )