#!/bin/sh

if pidof vsftpd > /dev/null; then
	echo "Kill vsftpd"
	killall vsftpd
fi

if pidof ushare > /dev/null; then
	echo "Kill ushare"
	trap "" INT
	kill -INT `pidof ushare`
fi

if [ -e /var/etc/.djmount ]; then
	echo "Kill djmount"
	fusermount -u /media/00upnp
fi
