mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
hts-tvheadend: rework init scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ae1aa10665
commit
1692b6adb7
15
packages/multimedia/hts-tvheadend/init.d/55_tvheadend → packages/multimedia/hts-tvheadend/init.d/81_tvheadend
Executable file → Normal file
15
packages/multimedia/hts-tvheadend/init.d/55_tvheadend → packages/multimedia/hts-tvheadend/init.d/81_tvheadend
Executable file → Normal file
@ -1,5 +1,3 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||||
# http://www.openelec.tv
|
# http://www.openelec.tv
|
||||||
@ -24,14 +22,13 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, textmode
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
. /etc/profile
|
|
||||||
|
|
||||||
(
|
(
|
||||||
[ -f /storage/.config/tv-server.conf ] && . /storage/.config/tv-server.conf || exit 0
|
if [ -f /storage/.config/tv-server.conf ]; then
|
||||||
|
. /storage/.config/tv-server.conf
|
||||||
|
|
||||||
if [ "$TVHEADEND_START" = "yes" ]; then
|
if [ "$TVHEADEND_START" = "yes" ]; then
|
||||||
progress "starting TV Server"
|
progress "starting TV Server"
|
||||||
|
tvheadend -C -s -f -u root -g root
|
||||||
tvheadend -C -s -f -u root -g root
|
fi
|
||||||
fi
|
fi
|
||||||
)&
|
)&
|
Loading…
x
Reference in New Issue
Block a user