mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +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)
|
thaw|resume)
|
||||||
|
if [ -f "$LOCKFILE" ] ; then
|
||||||
|
progress "Restarting HTS TVHeadend for wakeup..."
|
||||||
for module in $REMOVE_MODULES ; do
|
for module in $REMOVE_MODULES ; do
|
||||||
modprobe $module
|
modprobe $module
|
||||||
done
|
done
|
||||||
progress "Restarting HTS TVHeadend for wakeup..."
|
|
||||||
if [ -f "$LOCKFILE" ] ; then
|
|
||||||
rm -rf "$LOCKFILE"
|
rm -rf "$LOCKFILE"
|
||||||
tvheadend.start
|
tvheadend.start
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user