| Server IP : 162.253.224.18 / Your IP : 216.73.216.135 Web Server : Apache System : Linux s18.infinitysrv.com 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64 User : dejavumk ( 1184) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib64/pm-utils/sleep.d/ |
Upload File : |
#!/bin/sh
# Unload requested modules.
. "${PM_FUNCTIONS}"
suspend_modules()
{
[ -z "$SUSPEND_MODULES" ] && return $NA
for x in $SUSPEND_MODULES ; do
printf "Unloading kernel module %s..." "$x"
modunload $x && echo Done. || echo Failed.
done
return 0
}
resume_modules()
{
modreload
echo "Reloaded unloaded modules."
}
case "$1" in
hibernate|suspend)
suspend_modules
;;
thaw|resume)
resume_modules
;;
*) exit $NA
;;
esac