(command.CommandList children: [ (command.Simple blame_tok:<set> more_env:[] words:[{<set>} {<-e>}] redirects:[] do_fork:T) (command.ShAssignment left: <Id.Lit_VarLike 'THERMALD='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'THERMALD='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'THERMALD='> name:THERMALD) op: assign_op.Equal rhs: {(DQ <'/usr/sbin/thermald'>)} ) ] redirects: [] ) (command.AndOr children: [ (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<-x>} {(DQ ($ Id.VSub_DollarName THERMALD))} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ops: [<Id.Op_DPipe _>] ) (command.ShAssignment left: <Id.Lit_VarLike 'OPTIONS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'OPTIONS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'OPTIONS='> name:OPTIONS) op: assign_op.Equal rhs: {(DQ )} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'MODULES='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'MODULES='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'MODULES='> name:MODULES) op: assign_op.Equal rhs: {(DQ )} ) ] redirects: [] ) (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {<'/lib/lsb/init-functions'>}] redirects: [] do_fork: T ) (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{(DQ ($ Id.VSub_Number 1))}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <start> pattern: (pat.Words words:[{<start>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <log_begin_msg> more_env: [] words: [{<log_begin_msg>} {(DQ <'Starting thermald...'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <start-stop-daemon> more_env: [] words: [ {<start-stop-daemon>} {<--start>} {<--quiet>} {<--oknodo>} {<--exec>} {(DQ ($ Id.VSub_DollarName THERMALD))} {<-->} {($ Id.VSub_DollarName OPTIONS)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <log_end_msg> more_env: [] words: [{<log_end_msg>} {($ Id.VSub_QMark '?')}] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <stop> pattern: (pat.Words words:[{<stop>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <log_begin_msg> more_env: [] words: [{<log_begin_msg>} {(DQ <'Stopping thermald...'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <start-stop-daemon> more_env: [] words: [ {<start-stop-daemon>} {<--stop>} {<--quiet>} {<--oknodo>} {<--retry>} {<2>} {<--exec>} {(DQ ($ Id.VSub_DollarName THERMALD))} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <log_end_msg> more_env: [] words: [{<log_end_msg>} {($ Id.VSub_QMark '?')}] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <restart> pattern: (pat.Words words:[{<restart>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <Id.VSub_Number '$0'> more_env: [] words: [{($ Id.VSub_Number 0)} {<stop>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <sleep> more_env: [] words: [{<sleep>} {<1>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <Id.VSub_Number '$0'> more_env: [] words: [{($ Id.VSub_Number 0)} {<start>}] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <reload> pattern: (pat.Words words:[{<reload>} {<force-reload>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <log_begin_msg> more_env: [] words: [{<log_begin_msg>} {(DQ <'Reloading thermald...'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <start-stop-daemon> more_env: [] words: [ {<start-stop-daemon>} {<--stop>} {<--signal>} {<1>} {<--exec>} {(DQ ($ Id.VSub_DollarName THERMALD))} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <log_end_msg> more_env: [] words: [{<log_end_msg>} {($ Id.VSub_QMark '?')}] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <log_success_msg> more_env: [] words: [ {<log_success_msg>} {(DQ <'Usage: /etc/init.d/thermald {start|stop|restart|reload|force-reload}'>)} ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] )