diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-01-28 19:59:34 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2008-01-28 19:59:34 +0000 |
commit | 9785a16e5619b51d89343d290b9cae14bde2a954 (patch) | |
tree | 50c7029c6c474286979bc58c641a992f5aeb2ccd /pm/sleep.d/95led | |
parent | 103ac946fc745e048736b78bd50d0dcc5dcb5da7 (diff) |
All scripts are now POSIX compliant, change shebang lines to have them
run under /bin/sh instead of /bin/bash. Also take care of a few more
minor fixups.
Diffstat (limited to 'pm/sleep.d/95led')
-rwxr-xr-x | pm/sleep.d/95led | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pm/sleep.d/95led b/pm/sleep.d/95led index 0c7d041..1704207 100755 --- a/pm/sleep.d/95led +++ b/pm/sleep.d/95led @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/sh -[ -f /proc/acpi/ibm/led ] || exit 0 +[ -f /proc/acpi/ibm/led ] || exit 1 case "$1" in thaw|resume) |