home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / rescue / usr / lib / hal / scripts / hal-system-power-set-power-save < prev    next >
Text File  |  2006-11-29  |  312b  |  10 lines

  1. #!/bin/sh
  2.  
  3. if [ -n "$HALD_UNAME_S" -a -x ./$HALD_UNAME_S/hal-system-power-set-power-save-$HALD_UNAME_S ]; then
  4.     exec ./$HALD_UNAME_S/hal-system-power-set-power-save-$HALD_UNAME_S $@
  5. else
  6.     echo "org.freedesktop.Hal.Device.UnknownError" >&2
  7.     echo "No back-end for your operating system" >&2
  8.     exit 1
  9. fi
  10.