Revision: 77
http://svn.sourceforge.net/mactel-linux/?rev=77&view=rev
Author: ludov
Date: 2006-12-02 08:47:16 -0800 (Sat, 02 Dec 2006)
Log Message:
-----------
use ~/.keyboard_brigthness_old_value instead of
/tmp/keyboard_brigthness_old_value to survive a reboot
Thanks to Hannes Wyss for the idea
Modified Paths:
--------------
trunk/tools/keyboard_brigthness
Modified: trunk/tools/keyboard_brigthness
===================================================================
--- trunk/tools/keyboard_brigthness 2006-12-02 11:27:46 UTC (rev 76)
+++ trunk/tools/keyboard_brigthness 2006-12-02 16:47:16 UTC (rev 77)
@@ -20,7 +20,7 @@
#set -v
#set -x
BRIGHTNESS=/sys/class/leds/smc\:kbd_backlight/brightness
-OLD_VALUE=/tmp/keyboard_brigthness_old_value
+OLD_VALUE=~/.keyboard_brigthness_old_value
value=$(cat $BRIGHTNESS)
if [ -z "$1" ]; then
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel