mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
18 lines
269 B
Bash
Executable File
18 lines
269 B
Bash
Executable File
#!/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
|