mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
migration.sh: move users control scripts to new directory
Origin commit data
------------------
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
This commit is contained in:
@@ -22,3 +22,35 @@ if [ -e neutrino.conf ]; then
|
|||||||
sort neutrino.conf > neutrino.sort
|
sort neutrino.conf > neutrino.sort
|
||||||
mv neutrino.sort neutrino.conf
|
mv neutrino.sort neutrino.conf
|
||||||
fi
|
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