- 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

41
data/control/Makefile.am Normal file
View File

@@ -0,0 +1,41 @@
installdir = $(CONFIGDIR)
install_DATA = \
flash.start
# install_DATA += \
# audioplayer.start \
# audioplayer.end \
# deepstandby.on \
# deepstandby.off \
# flash.start \
# inactivity.on \
# movieplayer.start \
# movieplayer.end \
# neutrino.start \
# pictureviewer.start \
# pictureviewer.end \
# recording.timer \
# recording.start \
# recording.end \
# standby.on \
# standby.off
#
# install-data-hook:
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/audioplayer.start
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/audioplayer.end
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/deepstandby.on
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/deepstandby.off
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/flash.start
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/inactivity.on
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/movieplayer.start
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/movieplayer.end
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/neutrino.start
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/pictureviewer.start
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/pictureviewer.end
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/recording.timer
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/recording.start
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/recording.end
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/standby.on
# chmod 0755 $(DESTDIR)$(CONFIGDIR)/standby.off

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,2 @@
#!/bin/sh

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

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,4 @@
#!/bin/sh
service tuxcald start
service tuxmaild start

View File

@@ -0,0 +1,4 @@
#!/bin/sh
service tuxcald stop
service tuxmaild stop

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,2 @@
#!/bin/sh

View File

@@ -0,0 +1,4 @@
#!/bin/sh
service tuxcald start
service tuxmaild start

View File

@@ -0,0 +1,4 @@
#!/bin/sh
service tuxcald stop
service tuxmaild stop

View File

@@ -0,0 +1,2 @@
#!/bin/sh

4
data/control/standby.off Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
service tuxcald start
service tuxmaild start

4
data/control/standby.on Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
service tuxcald stop
service tuxmaild stop