home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / hal / scripts / hal-system-power-set-power-save < prev    next >
Encoding:
Text File  |  2007-03-30  |  312 b   |  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.