#! /bin/sh -e
cd /incoming
mkdir -p audio video
busybox httpd -p 8080 -h /www
nice /scripts/reader.sh &
nice /scripts/encoder.sh &
nice /scripts/status.sh &
wait