- move control scripts from data/neutrino-scripts to data/control

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-01-26 17:05:43 +01:00
committed by Thilo Graf
parent 010f1d41f6
commit 36e4bc9726
19 changed files with 26 additions and 2 deletions

17
data/control/flash.start Executable file
View File

@@ -0,0 +1,17 @@
#!/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