shell-exec
action, you can run shell commands.
Customize/p-credits.panel
is a good choice, since nothing vital breaks if you mess something up; it's used for the 887/888/889 ZONE easter eggs from the setup screen.
Pick an action to modify; in the PPVEnableHack, I used the s-ToggleShowDisplay action, which is triggered when the DISPLAY
remote button is pressed.
Add an action line, like:
<do action="shell-exec" target="ptvio on" />
target
can be used to run a literal string as a shell command; value
can be used to name a variable whose value is the shell command to be run; the rest of the panel language can be used to create & define the variable's value.
See settime-plus.panel for a large-scale example of using this technique. (TODO: URL? where'd that come from?) Note that it's for previous versions and should not be used as-is on 4000s, just used as an example for how to use this and to see the scope possible.
Platform/Plymouth/Scripts/StartupScript
is executed; by modifying it, we can run shell commands.
-
, but that hasn't been verified. This method is just listed for completeness' sake; please don't actually try it.
Topic RunningShellCommands . { Edit | Attach | Ref-By | Printable | Diffs | r1.6 | > | r1.5 | > | r1.4 | More } |
Revision r1.6 - 08 Jun 2003 - 16:15 GMT - TWikiGuest |
Copyright © 2001 by the contributing authors.
All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |