mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
- unmount mounted network folders before flashing
- kill timerd before flashing
Origin commit data
------------------
Branch: ni/coolstream
Commit: c780676ce5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
------------------
This commit was generated by Migit
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
|