Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /usr/share/doc/asterisk/examples/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : //usr/share/doc/asterisk/examples/asterisk_cleanup

#!/bin/sh

# asterisk_cleanup: A script intended to optionally be run when Asterisk
# has exited. This example script is used to move core files.

VARLIBDIR=${VARLIBDIR:/var/lib/asterisk}
RUNDIR=${VARRUNDIR:/var/run/asterisk}
DUMPDROP=${DUMPDROP:-/var/spool/asterisk/cores}
ASTPIDFILE=${ASTVARRUNDIR}/asterisk.pid
PID=`cat ${ASTPIDFILE}`
DATE=`date "+%Y-%m-%dT%H:%M:%S%z"`
if test -f ${RUNDIR}/core.${PID} ; then
	mkdir -p "${DUMPDROP}"
	mv ${RUNDIR}/core.${PID} ${DUMPDROP}/core.`hostname`-$DATE &
elif test -f ${RUNDIR}/core ; then
	mkdir -p "${DUMPDROP}"
	mv ${RUNDIR}/core ${DUMPDROP}/core.`hostname`-$DATE &
fi

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net