mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
migration.sh: move users control scripts to new directory
Origin commit data
------------------
Branch: ni/coolstream
Commit: 367e5a348c
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-26 (Sat, 26 Jan 2019)
Origin message was:
------------------
- migration.sh: move users control scripts to new directory
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -22,3 +22,35 @@ if [ -e neutrino.conf ]; then
|
||||
sort neutrino.conf > neutrino.sort
|
||||
mv neutrino.sort neutrino.conf
|
||||
fi
|
||||
|
||||
controlscripts="\
|
||||
audioplayer.start \
|
||||
audioplayer.end \
|
||||
deepstandby.on \
|
||||
deepstandby.off \
|
||||
inactivity.on \
|
||||
movieplayer.start \
|
||||
movieplayer.end \
|
||||
neutrino.start \
|
||||
pictureviewer.start \
|
||||
pictureviewer.end \
|
||||
recording.timer \
|
||||
recording.start \
|
||||
recording.end \
|
||||
scan.start \
|
||||
scan.stop \
|
||||
standby.on \
|
||||
standby.off \
|
||||
"
|
||||
|
||||
mkdir -p /var/tuxbox/control/
|
||||
for controlscript in $controlscripts; do
|
||||
echo $controlscript
|
||||
if [ -e $controlscript ]; then
|
||||
mv $controlscript /var/tuxbox/control/
|
||||
fi
|
||||
done
|
||||
|
||||
# these control scripts hasn't counterparts in /var
|
||||
rm -f migration.sh
|
||||
rm -f flash.start
|
||||
|
Reference in New Issue
Block a user