Infosatepg.sh
Aus VDR Wiki
Version vom 6. Januar 2005, 10:53 Uhr von 213.6.77.104 (Diskussion)
#!/bin/sh # # infosatepg.sh - v.0.1 # # add this line to your commands.conf: # folgende zeile in die commands.conf eintragen: # # Run infosatepg : /usr/local/bin/infosatepg.sh # # Edit the config.pl: # # - our $infosaturl="/video/received_data"; # + our $infosaturl="/tmp/received_data"; # CONFIG START INFOSAT_OPT="-c VIVA" # Options INFOSAT_OUT="/tmp/received_data" # Store infosatepg in... # CONFIG END PATH=$PATH:/usr/local/bin test "$(ps axc|awk "{if (\$5==\"infosatepg\") print \$1}")" && { echo 'infosatepg is always running ?' exit 1 } mkdir -p "${INFOSAT_OUT}" at now <<EOF infosatepg ${INFOSAT_OPT} -o "${INFOSAT_OUT}" EOF