799b03447a
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
28 lines
434 B
Bash
Executable File
28 lines
434 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
srcdir=.
|
|
fi
|
|
. ${srcdir}/test.rc
|
|
|
|
if [ -e ${PID} ]; then
|
|
echo "Killing 1st syslogd, PID:`cat ${PID}` ..."
|
|
kill `cat ${PID}`
|
|
fi
|
|
|
|
if [ -e ${PID2} ]; then
|
|
echo "Killing 2nd syslogd, PID:`cat ${PID2}` ..."
|
|
kill `cat ${PID2}`
|
|
fi
|
|
|
|
rm -f ${LOG}
|
|
rm -f ${LOGV1}
|
|
rm -f ${LOG2}
|
|
rm -f ${LOGCONS}
|
|
rm -f ${PID}
|
|
rm -f ${CAP}
|
|
rm -f ${SOCK}
|
|
rm -f ${CONF}
|
|
rm -rf ${CONFD}
|
|
rm -rf ${CONFD2}
|