Deprecated-Unsupported/Python Projects/other/MiniRoll/resources/cgi-bin/quit.cgi

25 lines
439 B
Bash
Executable File

#!/bin/bash
main()
{
readarray -t pids < pids
programGuiID=${pids[0]}
serverID=${pids[1]}
kill $programGuiID $serverID ;
echo "" > ./pids
rm -rf \
../tmp/*tmp* \
../tmp/*Show* \
../tmp/*img* \
../tmp/*titles* \
../tmp/*media* \
../tmp/aGrpIds \
../tmp/aImgList \
../tmp/alphaListing \
../tmp/aTitles \
../tmp/preaImgList \
../tmp/preaTitles
}
main