~laptop-mode-tools-dev/laptop-mode-tools/main

Viewing all changes in revision 264.

  • Committer: Ritesh Raj Saarraf
  • Date: 2011-06-20 02:05:32 UTC
  • Revision ID: rrs@researchut.com-20110620020532-awbb0lkymw7qyagl
Support execution of complex commands

Thanks to Changaco for the patch.

It seems that the exec-commands module cannot execute "complex" commands, for example containing an output redirection ">". I'm sending you a patch that fixes this for me.

I was trying to see if I could use exec-commands to shut down the second core of my CPU with "echo 0 > /sys/devices/system/cpu/cpu1/online". Do you think that is useful ?

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: