From: <abe...@us...> - 2011-12-08 15:57:08
|
Revision: 5297 http://astlinux.svn.sourceforge.net/astlinux/?rev=5297&view=rev Author: abelbeck Date: 2011-12-08 15:57:02 +0000 (Thu, 08 Dec 2011) Log Message: ----------- cleanup, remove old blights script and configs Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf Removed Paths: ------------- branches/1.0/project/astlinux/target_skeleton/usr/sbin/blights Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf =================================================================== --- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2011-12-08 15:52:15 UTC (rev 5296) +++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2011-12-08 15:57:02 UTC (rev 5297) @@ -691,15 +691,6 @@ ## AstLinux lets you use this variable to change the I/O scheduler per device #IOSCHED="hda:noop" -## Blinkenlights -## I have a simple script to make the lights on Soekris/WRAP boards blink. -## It supports a few options. LED_NUM is the number to blink. -## WRAP supports 2 (error), or 3 (extra) - default -## Soekris supports 2 (error) -## LED_TIME is the number of seconds to wait between blinking cycles. 1 is the default. -#LED_NUM=3 -#LED_TIME=1 - ## APC UPS Support via apcupsd ## Monitor and safely shut down the system (as well as perform other actions) upon the ## loss of power when connected to a UPS that AstLinux monitors. Deleted: branches/1.0/project/astlinux/target_skeleton/usr/sbin/blights =================================================================== --- branches/1.0/project/astlinux/target_skeleton/usr/sbin/blights 2011-12-08 15:52:15 UTC (rev 5296) +++ branches/1.0/project/astlinux/target_skeleton/usr/sbin/blights 2011-12-08 15:57:02 UTC (rev 5297) @@ -1,42 +0,0 @@ -#!/bin/sh - -. /etc/rc.conf - -if `grep -q "astlinux=net4801" /proc/cmdline` -then -LED_PATH="/sys/class/leds/net48xx:error/brightness" -LED_NUM=1 -fi - -if `grep -q "astlinux=wrap" /proc/cmdline` -if [ "$LED_NUM" = "1" ] -then -echo "Controlling the power led on WRAP is no longer supported" -exit 1 -fi - -if [ "$LED_NUM" = "2" ] -then -LED_PATH="/sys/class/leds/wrap:error/brightness" -fi - -if [ "$LED_NUM" = "3" ] -then -LED_PATH="/sys/class/leds/wrap:extra/brightness" -fi - -fi - -if [ "$LED_NUM" -a "$LED_TIME" ] -then -while true -do -echo 1 > $LED_PATH -sleep $LED_TIME -echo 0 > $LED_PATH -sleep $LED_TIME -done -else -exit 1 -fi - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |