]>
Commit | Line | Data |
---|---|---|
20259a08 GG |
1 | #!/bin/bash -e |
2 | ||
a94eb836 | 3 | # Send mail if /usr/bin/mail exists |
66527000 GI |
4 | if ! [ -x /usr/bin/mail ]; then |
5 | echo "Your system does not have /usr/bin/mail. Install the mailx or mailutils package" | |
6 | exit 1 | |
7 | fi | |
20259a08 GG |
8 | |
9 | input=$1 | |
10 | shift | |
11 | ||
12 | /usr/bin/mail "$@" < $input | |
13 |