#!/bin/bash ################################################################################ # # File: label # Description: Applies a label to the vob, creating the lbtype if needed. # Author: Andrew@DeFaria.com # Created: Wed Jun 11 13:22:11 PDT 2003 # Language: Bash Shell # Modifications: # # (c) Copyright 2003, Andrew@DeFaria.com, all rights reserved # ################################################################################ # Set me to command name me=$(basename $0) # Source /etc/site_parms if [ -f /etc/site_parms ]; then . /etc/site_parms else echo "$me: WARNING: /etc/site_parms does not exist!" fi # Set adm_base adm_base="$SITE_TOOLS_PATH/adm" # Set adm_fpath adm_fpath=${adm_fpath:-$adm_base/functions} # Source functions . $adm_fpath/common # Commands used ssmtp=/usr/sbin/ssmtp # Set a logfile for the merge logfile=/tmp/$me.$$.log function usage { if [ ! -z "$1" ]; then error "$1\n" fi display "Usage: $me: -l|abel