#!/bin/bash PROGNAME="$0" OUTDIR=/var/ipcamfs # should be tmpfs PORT=554 NAME= IP= USER= PASSWORD= DEBUG=0 CHANNEL=1 FORCE_UDP=0 FORCE_TCP=0 die() { echo >&2 "error: $@" exit 1 } usage() { cat <