You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
505 B
24 lines
505 B
10 months ago
|
#!/bin/bash
|
||
|
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
|
||
|
|
||
|
t_Log "Running $0 - testing if /usr/sbin/sendmail for exim is sane."
|
||
|
|
||
|
if (t_GetPkgRel basesystem | grep -q el5)
|
||
|
then
|
||
|
mta=$(ls -H /usr/sbin/sendmail)
|
||
|
|
||
|
if [ $mta == '/usr/sbin/sendmail' ]
|
||
|
then
|
||
|
t_Log "link to sendmail seems to be sane"
|
||
|
ret_val=0
|
||
|
else
|
||
|
t_Log "link to sendmail seems to be wrong"
|
||
|
ret_val=1
|
||
|
fi
|
||
|
else
|
||
|
t_Log "This seems to be a C6 system - skipping"
|
||
|
ret_val=0
|
||
|
fi
|
||
|
|
||
|
t_CheckExitStatus $ret_val
|