File: runq

package info (click to toggle)
sendmail 8.9.3-3slink1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,744 kB
  • ctags: 2,997
  • sloc: ansic: 40,418; perl: 2,044; sh: 1,466; makefile: 319
file content (27 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/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 $*