mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- move control scripts from data/neutrino-scripts to data/control
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
17
data/control/flash.start
Executable file
17
data/control/flash.start
Executable 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
|
Reference in New Issue
Block a user