diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-26 17:10:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-26 17:10:02 +0200 |
commit | 7fe6a59dfd76c9b6902b748b2db8d63d70ee8525 (patch) | |
tree | f98c8d8f14c8be0c24ccf18f71fa8d0f4acf077d /package/alix-switch/files/alix-switch | |
parent | 47e110abbf0d3142d737e753833d0d6239965b2a (diff) |
finetune kernel configuration, enable initramfs rootfs and enable reset button
alix2d has a reset button, which might be used to startup a rescue
system or anything you think about. add a small daemon from ipcop
forum to implement this. See:
http://www.ipcop-forum.de/forum/viewtopic.php?f=7&t=19183&hilit=alixswitch&start=30
finetune kernel configuration, enable MFGPT timers. Disable unsupported
MTRR. Enable watchdog.
Enable initramfs and initramfs+piggyback for alix targets.
Diffstat (limited to 'package/alix-switch/files/alix-switch')
-rw-r--r-- | package/alix-switch/files/alix-switch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/alix-switch/files/alix-switch b/package/alix-switch/files/alix-switch new file mode 100644 index 000000000..ad439a221 --- /dev/null +++ b/package/alix-switch/files/alix-switch @@ -0,0 +1,15 @@ +#!/bin/sh +# launched by alix-switchd in case of button event + +case "$1" in + on) + echo "alix-switch: on" + ;; + off) + echo "alix-switch: off" + ;; + *) + echo "Usage: $0 {on|off}" + ;; +esac +exit 0 |