2019-11-29 15:51:56 +05:30
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-11-07 23:28:25 +05:30
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
2019-11-05 00:39:54 +05:30
|
|
|
. ${srcdir}/test.rc
|
2019-10-29 15:38:23 +05:30
|
|
|
|
|
|
|
if [ -e ${PID} ]; then
|
2019-12-02 01:42:02 +05:30
|
|
|
echo "Killing 1st syslogd, PID:`cat ${PID}` ..."
|
2019-10-29 15:38:23 +05:30
|
|
|
kill `cat ${PID}`
|
|
|
|
fi
|
|
|
|
|
2019-12-02 01:42:02 +05:30
|
|
|
if [ -e ${PID2} ]; then
|
|
|
|
echo "Killing 2nd syslogd, PID:`cat ${PID2}` ..."
|
|
|
|
kill `cat ${PID2}`
|
|
|
|
fi
|
|
|
|
|
2019-10-29 15:38:23 +05:30
|
|
|
rm -f ${LOG}
|
2019-11-04 00:21:39 +05:30
|
|
|
rm -f ${LOGV1}
|
2019-12-02 01:42:02 +05:30
|
|
|
rm -f ${LOG2}
|
2019-11-04 00:21:39 +05:30
|
|
|
rm -f ${LOGCONS}
|
2019-10-29 15:38:23 +05:30
|
|
|
rm -f ${PID}
|
2021-05-05 08:31:12 +05:30
|
|
|
rm -f ${PID2}
|
2019-10-30 21:44:29 +05:30
|
|
|
rm -f ${CAP}
|
|
|
|
rm -f ${SOCK}
|
2021-07-01 02:30:09 +05:30
|
|
|
rm -f ${CACHE}
|
|
|
|
rm -f ${CACHE2}
|
2019-10-30 21:44:29 +05:30
|
|
|
rm -f ${CONF}
|
2021-05-05 08:31:12 +05:30
|
|
|
rm -f ${CONF2}
|
2019-11-04 00:21:39 +05:30
|
|
|
rm -rf ${CONFD}
|
2019-11-14 05:50:42 +05:30
|
|
|
rm -rf ${CONFD2}
|