[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-74-g83c9b5c

Ben Armstrong synrg at debian.org
Fri Nov 12 11:00:44 UTC 2010


The following commit has been merged in the master branch:
commit 202de83b7b7a8e511d0d60229ed11fa11693c6d0
Author: Luca Niccoli <lultimouomo at gmail.com>
Date:   Fri Apr 23 19:05:55 2010 +0200

    remove /etc/pm/sleep.d/eeepc-acpi-scripts; it has never been even installed
    
    Signed-off-by: Luca Niccoli <lultimouomo at gmail.com>

diff --git a/etc/pm/sleep.d/eeepc-acpi-scripts b/etc/pm/sleep.d/eeepc-acpi-scripts
deleted file mode 100755
index a1d1955..0000000
--- a/etc/pm/sleep.d/eeepc-acpi-scripts
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-# Action script to disable the wireless interface of EeePC models with
-# rt2860sta during suspend and enable it back during resume.
-#
-# The problem is that if the interface is enabled when suspending,
-# the kernel locks up during resume
-#
-
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-
-# do nothing if package is removed
-[ -r /usr/share/eeepc-acpi-scripts/functions.sh ] || exit 0
-
-OLD_STATE_FILE=/var/run/eeepc-turn-wlan-on
-WLAN_CTRL=/etc/acpi/actions/wireless.sh
-
-# pm-action(8) - <action> <suspend method>
-#
-# On suspend or hibernate, disable wlan
-# re-enable on resume or thaw (if it was enabled during suspend).
-
-case "${1}" in
-    suspend|hibernate)
-        $WLAN_CTRL detect
-        if [ $? = "1" ] ; then
-            # wireless is on
-            if lspci | grep -q 'RT2860'; then
-                # it is rt2860sta; needs to be shut down
-                touch $OLD_STATE_FILE
-                $WLAN_CTRL off
-            fi
-        fi
-    ;;
-    resume|thaw)
-        if [ -e $OLD_STATE_FILE ]; then
-            rm $OLD_STATE_FILE
-            $WLAN_CTRL on
-        fi
-    ;;
-esac
-

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list