Permalink
Browse files

Fix screen saver and power settings

  • Loading branch information...
1 parent e9c1224 commit 253f91637fcc199acc4779c29d0c7f65269fcfc8 @antialize committed Apr 9, 2012
Showing with 8 additions and 0 deletions.
  1. +6 −0 bringitup
  2. +2 −0 startx
View
@@ -2,6 +2,12 @@
case $1 in
start)
+ ethtool -s eth0 wol d
+ echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
+ hdparm -B 1 /dev/sda
+ hdparm -S 255 /dev/sda
+ echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
+
iptables -F
iptables -P INPUT DROP
iptables -P FORWARD DROP
View
2 startx
@@ -2,4 +2,6 @@
export DISPLAY=:0
openbox &
+xset -dpms
+xset s off
firefox -fullscreen madalgo.au.dk/display &

0 comments on commit 253f916

Please sign in to comment.