Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
nut
nut.sleep
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nut.sleep of Package nut
#!/bin/bash . /usr/lib/pm-utils/functions case "$1" in hibernate) stopservice upsd sleep 2 if test -n "$POWERDOWNFLAG" -a -f "$POWERDOWNFLAG" ; then export UPSD_POWERDOWN_CONDITION=1 /etc/init.d/upsd try-powerdown fi ;; suspend) stopservice upsd ;; thaw|resume) restartservice upsd ;; *) ;; esac
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor