diff options
author | Michael Biebl <mbiebl@gmail.com> | 2008-03-16 19:07:02 +0100 |
---|---|---|
committer | Michael Biebl <mbiebl@gmail.com> | 2008-03-16 19:07:02 +0100 |
commit | e9f2ddf6709c2d8b8bf9eed16a20a2123a51f747 (patch) | |
tree | f3a99691a95488e8f88111422579f3c21b654d60 /pm | |
parent | 4fe96950186e616db17767ce78690f7b82231a51 (diff) |
Make the modules shell script
We install the sleep modules as _SCRIPTS, so they should be 0755 and have a
shebang. This has the additional benefit that editors automatically enable
syntax coloring.
Diffstat (limited to 'pm')
-rwxr-xr-x[-rw-r--r--] | pm/module.d/kernel | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | pm/module.d/tuxonice | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | pm/module.d/uswsusp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/pm/module.d/kernel b/pm/module.d/kernel index 5b3b501..dc6724e 100644..100755 --- a/pm/module.d/kernel +++ b/pm/module.d/kernel @@ -1,3 +1,5 @@ +#!/bin/sh + check_suspend() { grep -q mem /sys/power/state diff --git a/pm/module.d/tuxonice b/pm/module.d/tuxonice index 79c50ac..568faec 100644..100755 --- a/pm/module.d/tuxonice +++ b/pm/module.d/tuxonice @@ -1,3 +1,5 @@ +#!/bin/sh + export TUXONICE_LOC # TODO tuxonice supports all sorts of knobs to twiddle. Since this should be as # simple as possible, it does not provide a mechanism for twiddling those knobs. diff --git a/pm/module.d/uswsusp b/pm/module.d/uswsusp index c7f8e70..711761c 100644..100755 --- a/pm/module.d/uswsusp +++ b/pm/module.d/uswsusp @@ -1,3 +1,5 @@ +#!/bin/sh + # disable processing of 99video before_hooks() { |