summaryrefslogtreecommitdiff
path: root/packages/apmd/files/50-tmio-ohci-unbind
blob: f65e0b37d30936db7ad0a08a08babdc05f34c947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

TOPATH=/sys/bus/platform/drivers/tmio-ohci

case "$1" in
	suspend)
		if [ -d $TOPATH ]
		then
			echo -n tmio-ohci >  $TOPATH/unbind
		fi
		;;
	resume)
		if [ -d $TOPATH ]
		then
			echo -n tmio-ohci >  $TOPATH/bind
		fi
		;;
esac