mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
NI \o/
Origin commit data
------------------
Branch: ni/coolstream
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2,5 +2,22 @@
|
||||
installdir = $(CONFIGDIR)
|
||||
install_DATA = flash.start
|
||||
|
||||
#NI
|
||||
install_DATA += \
|
||||
ni-migration.sh \
|
||||
movieplayer.start \
|
||||
movieplayer.end \
|
||||
recording.start \
|
||||
recording.end \
|
||||
standby.on \
|
||||
standby.off
|
||||
|
||||
install-data-hook:
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/flash.start
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/ni-migration.sh
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/movieplayer.start
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/movieplayer.end
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/recording.start
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/recording.end
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/standby.on
|
||||
chmod 0755 $(DESTDIR)$(CONFIGDIR)/standby.off
|
||||
|
@@ -1,17 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if pidof vsftpd > /dev/null; then
|
||||
echo "Kill vsftpd"
|
||||
killall vsftpd
|
||||
fi
|
||||
## kill neutrino start-script first ########
|
||||
killall start_neutrino
|
||||
|
||||
if pidof ushare > /dev/null; then
|
||||
echo "Kill ushare"
|
||||
trap "" INT
|
||||
kill -INT `pidof ushare`
|
||||
fi
|
||||
## create flagfile #########################
|
||||
touch /tmp/.${0##*/}
|
||||
|
||||
if [ -e /var/etc/.djmount ]; then
|
||||
echo "Kill djmount"
|
||||
fusermount -u /media/00upnp
|
||||
fi
|
||||
## run shutdown routine ####################
|
||||
/etc/init.d/rcK
|
||||
|
4
data/neutrino-scripts/movieplayer.end
Normal file
4
data/neutrino-scripts/movieplayer.end
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
service tuxcald start
|
||||
service tuxmaild start
|
4
data/neutrino-scripts/movieplayer.start
Normal file
4
data/neutrino-scripts/movieplayer.start
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
service tuxcald stop
|
||||
service tuxmaild stop
|
9
data/neutrino-scripts/ni-migration.sh
Normal file
9
data/neutrino-scripts/ni-migration.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /var/tuxbox/config
|
||||
if [ -e neutrino.conf ]; then
|
||||
sed -i 's|ng_netfs_\(.*\)|netfs_\1|' neutrino.conf
|
||||
|
||||
sort neutrino.conf > neutrino.sort
|
||||
mv neutrino.sort neutrino.conf
|
||||
fi
|
4
data/neutrino-scripts/recording.end
Normal file
4
data/neutrino-scripts/recording.end
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
service tuxcald start
|
||||
service tuxmaild start
|
4
data/neutrino-scripts/recording.start
Normal file
4
data/neutrino-scripts/recording.start
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
service tuxcald stop
|
||||
service tuxmaild stop
|
4
data/neutrino-scripts/standby.off
Normal file
4
data/neutrino-scripts/standby.off
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
service tuxcald start
|
||||
service tuxmaild start
|
4
data/neutrino-scripts/standby.on
Normal file
4
data/neutrino-scripts/standby.on
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
service tuxcald stop
|
||||
service tuxmaild stop
|
Reference in New Issue
Block a user