(CommandList children: [ (AndOr children: [ (C {(Lit_Other "[")} {(KW_Bang "!")} {(-f)} {(/etc/init/lxc-android-config.conf)} {(Lit_Other "]")} ) (C {(exit)} {(0)}) ] op_id: Op_DPipe ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:PATH) 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: (LeftVar name:AVAILABLE) rhs: {(DQ (/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors))} spids: [67] ) ] spids: [67] ) (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: [82 83 101 -1] ) (case_arm pat_list: [{(background)}] action: (CommandList children: [ (C {(sleep)} {(60)}) (AndOr children: [ (C {(Lit_Other "[")} {(-f)} {($ VSub_Name "$AVAILABLE")} {(Lit_Other "]")}) (C {(exit)} {(0)}) ] op_id: Op_DPipe ) (SimpleCommand words: [{(read)} {(governors)}] redirects: [ (Redirect op_id: Redir_Less arg_word: {($ VSub_Name "$AVAILABLE")} fd: -1 spids: [136] ) ] ) (Case to_match: {($ VSub_Name "$governors")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (interactive) (Lit_Other "*")}] action: (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:GOVERNOR) rhs: {(DQ (interactive))} spids: [154] ) ] spids: [154] ) (C {(break)}) ] ) spids: [148 151 163 -1] ) (case_arm pat_list: [{(Lit_Other "*") (ondemand) (Lit_Other "*")}] action: (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:GOVERNOR) rhs: {(DQ (ondemand))} spids: [172] ) ] spids: [172] ) (C {(break)}) ] ) spids: [166 169 181 -1] ) (case_arm pat_list: [{(Lit_Other "*") (powersave) (Lit_Other "*")}] action: (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:GOVERNOR) rhs: {(DQ (powersave))} spids: [190] ) ] spids: [190] ) (C {(break)}) ] ) spids: [184 187 199 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: (C {(exit)} {(0)}) spids: [202 203 211 -1] ) ] spids: [141 145 214] ) (ForEach iter_name: CPUFREQ iter_words: [ {(/sys/devices/system/cpu/cpu) (Lit_Other "*") (/cpufreq/scaling_governor)} ] do_arg_iter: False body: (DoGroup child: (CommandList children: [ (AndOr children: [ (C {(Lit_Other "[")} {(-f)} {($ VSub_Name "$CPUFREQ")} {(Lit_Other "]")}) (C {(continue)}) ] op_id: Op_DPipe ) (SimpleCommand words: [{(echo)} {(-n)} {($ VSub_Name "$GOVERNOR")}] redirects: [ (Redirect op_id: Redir_Great arg_word: {($ VSub_Name "$CPUFREQ")} fd: -1 spids: [251] ) ] ) ] ) spids: [229 256] ) spids: [223 -1] ) ] ) spids: [104 105 259 -1] ) (case_arm pat_list: [{(restart)} {(reload)} {(force-reload)}] action: (CommandList children: [ (SimpleCommand words: [{(echo)} {(DQ ("Error: argument '") ($ VSub_Number "$1") ("' not supported"))}] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[278])] ) (C {(exit)} {(3)}) ] ) spids: [262 267 287 -1] ) (case_arm pat_list:[{(stop)}] action:(NoOp) spids:[290291294-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: (CommandList children: [ (SimpleCommand words: [{(echo)} {(DQ ("Usage: ") ($ VSub_Number "$0") (" start|stop"))}] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[309])] ) (C {(exit)} {(3)}) ] ) spids: [297 298 318 -1] ) ] spids: [73 79 320] ) ] )