2009-01-30 22:32:52 +00:00
|
|
|
#!/bin/sh
|
2010-01-26 15:21:41 +00:00
|
|
|
/etc/init.d/i2p stop
|
|
|
|
|
|
|
|
# stuff in /tmp
|
2010-11-13 00:39:55 +00:00
|
|
|
TMPDIR=/tmp
|
|
|
|
rm -f ${TMPDIR}/wrapper.log ${TMPDIR}/wrapper.log.1 ${TMPDIR}/wrapper.log.2 ${TMPDIR}/i2p.pid ${TMPDIR}/routerjvm.pid ${TMPDIR}/router.ping
|
2010-01-26 15:21:41 +00:00
|
|
|
|
2010-11-12 04:04:27 +00:00
|
|
|
# dpkg doesn't know about these files, they were copied out of jbigi.jar by the router
|
2010-11-12 22:57:59 +00:00
|
|
|
LIB=/usr/lib/i2p
|
|
|
|
rm -f $LIB/libjbigi.so $LIB/libjcpuid.so
|
2010-01-26 15:21:41 +00:00
|
|
|
|
|
|
|
# the home directory for the i2p daemon
|
|
|
|
SVCHOME=/var/lib/i2p
|
|
|
|
rm -rf $SVCHOME
|
|
|
|
|
|
|
|
# if any user other than i2psvc has run i2p, the files in ~user/.i2p are not removed
|
|
|
|
exit 0
|