Files
neutrino/data/neutrino-scripts/flash.start
Michael Liebmann c780676ce5 Software update: Copy flashimage to /tmp if it is not present in this directory
- unmount mounted network folders before flashing
- kill timerd before flashing
2013-06-13 01:36:03 +02:00

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