[Debian-eeepc-commits] [SCM] A live-helper based Debian live & installer image for the Eee PC. branch, master, updated. 1.0b1-98-g5713073
Ben Armstrong
synrg at debian.org
Fri Apr 16 11:51:42 UTC 2010
The following commit has been merged in the master branch:
commit 571307326b06467b93cbd0ba224ce87f0c6a45e3
Author: Ben Armstrong <synrg at debian.org>
Date: Fri Apr 16 08:51:33 2010 -0300
Remove no longer needed suspend workaround for wifi
diff --git a/config/chroot_local-includes/etc/pm/suspend.d/eeepc-wlan.sh b/config/chroot_local-includes/etc/pm/suspend.d/eeepc-wlan.sh
deleted file mode 100755
index 91f521c..0000000
--- a/config/chroot_local-includes/etc/pm/suspend.d/eeepc-wlan.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-# Action script to enable/disable wireless interface
-# the problem is that if the interface is enabled when suspending,
-# the kernel locks up during resume
-#
-#
-
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
-
-if [ ! -r /usr/share/eeepc-acpi-scripts/functions.sh ]; then
- exit 0
-fi
-
-OLD_STATE_FILE=/var/run/wlan-state
-WLAN_CTRL=/etc/acpi/actions/wireless.sh
-
-# pm-action(8) - <action> <suspend method>
-#
-# On suspend|hibernate, disable wlan
-# re-enable on resume (if it was enabled during suspend).
-
-case "${1}" in
- suspend|hibernate)
- $WLAN_CTRL detect
- if [ $? = "1" ] ; then
- OLD_STATE=on
- else
- OLD_STATE=off
- fi
- echo $OLD_STATE > $OLD_STATE_FILE
- if [ "$OLD_STATE" = "on" ]; then
- $WLAN_CTRL off
- fi
- ;;
- resume|thaw)
- OLD_STATE=$( cat $OLD_STATE_FILE )
- if [ ${OLD_STATE:-off} = "on" ]; then
- $WLAN_CTRL on
- fi
- ;;
-esac
-
--
A live-helper based Debian live & installer image for the Eee PC.
More information about the Debian-eeepc-commits
mailing list