mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
tvheadend: sleep/resume: do not load modules on resume if tvheadend not started before suspend
This commit is contained in:
parent
43b17bd1bb
commit
cb0148b4a5
@ -41,11 +41,11 @@ case "$1" in
|
||||
;;
|
||||
|
||||
thaw|resume)
|
||||
for module in $REMOVE_MODULES ; do
|
||||
modprobe $module
|
||||
done
|
||||
progress "Restarting HTS TVHeadend for wakeup..."
|
||||
if [ -f "$LOCKFILE" ] ; then
|
||||
progress "Restarting HTS TVHeadend for wakeup..."
|
||||
for module in $REMOVE_MODULES ; do
|
||||
modprobe $module
|
||||
done
|
||||
rm -rf "$LOCKFILE"
|
||||
tvheadend.start
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user