Commit | Line | Data |
---|---|---|
de45f55a AM |
1 | #!/bin/bash |
2 | # install as /usr/share/bug/$package/script or /usr/share/bug/$package | |
3 | ||
4 | UE4CC="/etc/exim4/update-exim4.conf.conf" | |
5 | REDIR=">&3" | |
6 | if [ "$OUTPUT" = "all" ]; then | |
7 | REDIR="" | |
8 | fi | |
9 | ||
10 | if test -x /usr/sbin/exim4 ; then | |
11 | eval /usr/sbin/exim4 -bV $REDIR | |
12 | fi | |
13 | if [ "$OUTPUT" != "all" ]; then | |
14 | yesno "Include extended configuration information?" "yep" | |
15 | if [ "$REPLY" != "yep" ] ;then | |
16 | exit 0 | |
17 | fi | |
18 | fi | |
19 | if test -r $UE4CC ; then | |
20 | eval cat $UE4CC $REDIR | |
21 | fi | |
22 | if test -r /etc/mailname ; then | |
23 | eval echo -n 'mailname:' $REDIR | |
24 | eval cat /etc/mailname $REDIR | |
25 | fi | |
0baa7b9d SB |
26 | if test -r /etc/default/exim4 ; then |
27 | eval cat /etc/default/exim4 $REDIR | |
28 | fi |