Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
vdr
vdr-shutdown.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vdr-shutdown.sh of Package vdr
#!/bin/bash next_timer="$1" # time in seconds of next timer until_timer="$2" # time in seconds until next timer (may be negative) timer_channel="$3" # channel recorded by next timer timer_fname="$4" # filename for next recording manual_shutdown="$5" # 1 if shutdown reqested by user HALT_OPTIONS="-p" test -f /etc/sysconfig/vdr && . /etc/sysconfig/vdr if [ "$VDR_SHUTDOWN" = "fast" ]; then HALT_OPTIONS+=" -f" fi # you need to add the following line to /etc/sudoers to make this script work # vdr ALL=NOPASSWD: /sbin/halt sudo /sbin/halt $HALT_OPTIONS
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