#!/bin/sh

usage="Usage: $0 [OPTION]...
Run the sendmail queue (sendmail -q)

   --help      display this help and exit
   --version   output version information and exit

Report bugs to submit@bugs.debian.org"

case $# in
  1 )
    case "z${1}" in
      z--help )
	 echo "$usage"; exit 0 ;;
      z--version )
	 echo -n "runq (Debian GNU/Linux) 1.00.  "; 
	 echo "Copyright (c) 1997 Johnie Ingram.  >= GNU GPL 2."
	 exit 0 ;;
      * ) ;;
    esac
    ;;
  * ) ;;
esac
                                                                                
COMMAND=/usr/sbin/sendmail
exec $COMMAND -q $*
