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

25 lines
439 B
Plaintext
Raw Permalink Normal View History

2021-02-18 23:45:52 +00:00
#!/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