diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-04-13 22:38:41 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-13 22:38:41 +0000 |
commit | 368a30c87bdc2542a15516cf9632f15f448f6a15 (patch) | |
tree | fdd067e92b862d1b1be48f36dbb30cc3dc4fb360 /packages/slugos-init/files/leds | |
parent | 7433407652c663be27c32ce050d54c2db91df5e1 (diff) |
slugos-init: Updated the leds script to match the delay_on/delay_off interface for the timer trigger.
Diffstat (limited to 'packages/slugos-init/files/leds')
-rw-r--r-- | packages/slugos-init/files/leds | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/packages/slugos-init/files/leds b/packages/slugos-init/files/leds index 433467b96f..f5011f8bad 100644 --- a/packages/slugos-init/files/leds +++ b/packages/slugos-init/files/leds @@ -50,18 +50,20 @@ led_set(){ echo -n timer case "$setting" in - flash) echo -n 0.6;; - blink) echo -n 0.6;; - slow) echo -n 1;; - fast) echo -n 3;; - panic) echo -n 6;; - esac >"$1/frequency" + flash) echo -n 60;; + blink) echo -n 540;; + slow) echo -n 500;; + fast) echo -n 1500;; + panic) echo -n 3000;; + esac >"$1/delay_on" case "$setting" in - flash) echo -n 10;; - blink) echo -n 90;; - *) echo -n 50;; - esac >"$1/duty";; + flash) echo -n 540;; + blink) echo -n 60;; + slow) echo -n 500;; + fast) echo -n 1500;; + panic) echo -n 3000;; + esac >"$1/delay_off";; cpu-idle) echo -n cpu # these settings work well on NSLU2 |