home *** CD-ROM | disk | FTP | other *** search
/ tusportal.tus.k12.pa.us / tusportal.tus.k12.pa.us.tar / tusportal.tus.k12.pa.us / Wyse / latest-image.raw / 0.img / usr / lib / hal / scripts / hal-system-power-set-power-save < prev    next >
Text File  |  2010-05-09  |  247b  |  12 lines

  1. #!/bin/sh
  2.  
  3. . hal-functions
  4.  
  5. read value
  6.  
  7. hal_check_priv org.freedesktop.hal.power-management.set-powersave
  8. hal_call_backend $value
  9. if [ "$?" = "0" ]; then
  10.     hal-set-property --udi $UDI --key "power_management.is_powersave_set" --bool "$value"
  11. fi
  12.