05e8725e13
routers with an open OS like OpenWRT. The server part of Mumble is called Murmur, hence the name uMurmur. WWW: http://http://code.google.com/p/umurmur/ PR: ports/154995 Submitted by: Ayumi Mitsui <ayu at commun.jp>
22 lines
384 B
Bash
22 lines
384 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
PATH=/bin:/usr/sbin
|
|
USER=umurmur
|
|
GROUP=umurmur
|
|
RUNDIR=/var/run/umurmur
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
if pw group show ${GROUP} 2>&1 > /dev/null; then
|
|
echo "You should manually remove the \"${GROUP}\" group."
|
|
fi
|
|
|
|
if pw user show ${USER} 2>&1 > /dev/null; then
|
|
echo "You should manually remove the \"${USER}\" user."
|
|
fi
|
|
|
|
rm -Rf ${RUNDIR}
|
|
;;
|
|
esac
|