summaryrefslogtreecommitdiff
path: root/tools/hal-system-video-suspend
blob: 26c2bd3b462a859131040e2dd4e2e561550e7347 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ -n "$HALD_UNAME_S" -a -x ./$HALD_UNAME_S/hal-system-video-suspend-$HALD_UNAME_S ]; then
    exec ./$HALD_UNAME_S/hal-system-video-suspend-$HALD_UNAME_S $@
else
    echo "org.freedesktop.Hal.Device.UnknownError" >&2
    echo "No back-end for your operating system" >&2
    exit 1
fi