(CommandList children: [ (AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(-f)} {(/etc/init/lxc-android-config.conf)} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {(/sbin) (Lit_Other ':') (/usr/sbin) (Lit_Other ':') (/bin) (Lit_Other ':') (/usr/bin)} spids: [48] ) ] spids: [48] ) (C {(.)} {(/lib/init/vars.sh)}) (C {(.)} {(/lib/lsb/init-functions)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVAILABLE) op: Equal rhs: {(DQ (/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors))} spids: [67] ) ] spids: [67] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DOWN_FACTOR) op: Equal rhs: {(DQ (/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor))} spids: [72] ) ] spids: [72] ) (Case to_match: {(DQ ($ VSub_Number '$1'))} arms: [ (case_arm pat_list: [{(start)}] action: [ (C {(start-stop-daemon)} {(--start)} {(--background)} {(--exec)} {(/etc/init.d/ondemand)} {(--)} {(background)} ) ] spids: [87 88 106 16777215] ) (case_arm pat_list: [{(background)}] action: [ (C {(sleep)} {(60)}) (AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} {(-f)} {($ VSub_Name '$AVAILABLE')} {(Lit_Other ']')}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] ) (SimpleCommand words: [{(read)} {(governors)}] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {($ VSub_Name '$AVAILABLE')} spids: [141] ) ] ) (Case to_match: {($ VSub_Name '$governors')} arms: [ (case_arm pat_list: [{(Lit_Other '*') (interactive) (Lit_Other '*')}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:GOVERNOR) op: Equal rhs: {(DQ (interactive))} spids: [159] ) ] spids: [159] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [153 156 168 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (ondemand) (Lit_Other '*')}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:GOVERNOR) op: Equal rhs: {(DQ (ondemand))} spids: [177] ) ] spids: [177] ) (Case to_match: { (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-m)})]) left_token: <Left_CommandSub '$('> spids: [185 189] ) } arms: [ (case_arm pat_list: [{(ppc64) (Lit_Other '*')}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:SAMPLING) op: Equal rhs: {(100)} spids: [199] ) ] spids: [199] ) ] spids: [194 196 203 16777215] ) ] spids: [183 191 206] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [171 174 212 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (powersave) (Lit_Other '*')}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:GOVERNOR) op: Equal rhs: {(DQ (powersave))} spids: [221] ) ] spids: [221] ) (ControlFlow token:<ControlFlow_Break break>) ] spids: [215 218 230 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [(ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})] spids: [233 234 242 16777215] ) ] spids: [146 150 245] ) (ForEach iter_name: CPUFREQ iter_words: [{(/sys/devices/system/cpu/cpu) (Lit_Other '*') (/cpufreq/scaling_governor)}] do_arg_iter: F body: (DoGroup children: [ (AndOr ops: [Op_DPipe] children: [ (C {(Lit_Other '[')} {(-f)} {($ VSub_Name '$CPUFREQ')} {(Lit_Other ']')}) (ControlFlow token:<ControlFlow_Continue continue>) ] ) (SimpleCommand words: [{(echo)} {(-n)} {($ VSub_Name '$GOVERNOR')}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {($ VSub_Name '$CPUFREQ')} spids: [282] ) ] ) ] spids: [260 287] ) spids: [254 16777215] ) (If arms: [ (if_arm cond: [ (Sentence child: (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Name '$SAMPLING'))} {(Lit_Other ']')} ) (C {(Lit_Other '[')} {(-f)} {($ VSub_Name '$DOWN_FACTOR')} {(Lit_Other ']')}) ] ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(-n)} {($ VSub_Name '$SAMPLING')}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {($ VSub_Name '$DOWN_FACTOR')} spids: [322] ) ] ) ] spids: [16777215 313] ) ] spids: [16777215 327] ) ] spids: [109 110 330 16777215] ) (case_arm pat_list: [{(restart)} {(reload)} {(force-reload)}] action: [ (SimpleCommand words: [{(echo)} {(DQ ("Error: argument '") ($ VSub_Number '$1') ("' not supported"))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[349])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) ] spids: [333 338 358 16777215] ) (case_arm pat_list:[{(stop)}] spids:[361 362 365 16777215]) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (SimpleCommand words: [{(echo)} {(DQ ('Usage: ') ($ VSub_Number '$0') (' start|stop'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[380])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(3)}) ] spids: [368 369 389 16777215] ) ] spids: [78 84 391] ) ] )