summaryrefslogtreecommitdiff
path: root/vdr/scripts/vdrwritedvd
blob: 2c4ad1cb998240232e2029a0ffd380bcab750fcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# vdrwritedvd - x-vdr version
#
# This script will be called by the vdr-plugins dvdselect and dvdswitch to write a dvd.
#
# It gets the following parameter:
#
# $1 = filename

# Load VDR configuration
. /etc/default/vdr

# vdr2root
echo "sudo $VDRSCRIPTDIR/vdr2root writedvd \"$1\"" | at now

exit 0