Clipinc.sh
Aus VDR Wiki
Version vom 20. November 2004, 18:44 Uhr von 213.6.81.75 (Diskussion)
#!/bin/sh # # sample script for clipinc # # need: atd case "${1}" in start) test -s "${2}/recinfo.conf" || { echo "--------------------------" echo "recinfo.conf not found..." echo "--------------------------" exit 1 } test -d /etc/vdr/scripts/clipinc || { echo "--------------------------" echo "/etc/vdr/scripts/clipinc not found..." echo "--------------------------" exit 1 } at now <<EOF cd /etc/vdr/scripts/clipinc ./clipinc.pl "${2}" EOF ;; esac