blob: e628b212735f6c761d354bb3bea569ab703efe4c (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
# To enable this script, pass it to vdr with the -s option, eg.
# "-s vdr-shutdown.sh" (sans quotes) in VDR_OPTIONS in /etc/sysconfig/vdr.
echo ${1:-0} > /var/run/vdr/next-timer
exec sudo /sbin/shutdown -P now
|