Shell commands from action Script
Posted: 08 Mar 2016 10:28
Hi Martin,
Could you please add a function for Script action to directly execute some Shell/Root command?
For example (call it "execRoot()"):
gov = execRoot("cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor");
if (gov == "ondemand") {
// tweak this governor
}
Thank you!
Sorry for my bad English...
Could you please add a function for Script action to directly execute some Shell/Root command?
For example (call it "execRoot()"):
gov = execRoot("cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor");
if (gov == "ondemand") {
// tweak this governor
}
Thank you!
Sorry for my bad English...