mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56: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
|
||||
# http://www.openelec.tv
|
||||
@ -24,14 +22,13 @@
|
||||
#
|
||||
# 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
|
||||
progress "starting TV Server"
|
||||
|
||||
tvheadend -C -s -f -u root -g root
|
||||
if [ "$TVHEADEND_START" = "yes" ]; then
|
||||
progress "starting TV Server"
|
||||
tvheadend -C -s -f -u root -g root
|
||||
fi
|
||||
fi
|
||||
)&
|
Loading…
x
Reference in New Issue
Block a user