diff options
author | maximilian attems <maks@debian.org> | 2005-12-07 13:27:57 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-12-07 13:27:57 +0100 |
commit | edfcf7ea648bc07435064df4d8c603db7d26aa56 (patch) | |
tree | 6cda5ffc9b9aa5f3f2057ab18f9799669cead676 /scripts | |
parent | 7131aa52d493fb25413b092d1e0a9f1625c0a8cd (diff) | |
download | initramfs-tools-edfcf7ea648bc07435064df4d8c603db7d26aa56.tar.gz initramfs-tools-edfcf7ea648bc07435064df4d8c603db7d26aa56.zip |
remove dup suspend code
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/functions b/scripts/functions index 8a49c8e..cde870d 100644 --- a/scripts/functions +++ b/scripts/functions @@ -174,15 +174,6 @@ load_modules() fi done fi - - # FIXME: wrong place, but it gets done ;) - if [ -e /sys/power/resume ]; then - if [ -e "${resume}" ]; then - major=$((0x$(stat -c%t ${resume}))) - minor=$((0x$(stat -c%T ${resume}))) - echo ${major}:${minor} >/sys/power/resume - fi - fi } parse_numeric() { |