mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
addons: sleep.d/*.power: don't rmmod -w
... deprecated in kmod and kernel
This commit is contained in:
parent
0e7c3332b4
commit
14ebb038bf
@ -29,7 +29,7 @@ case "$1" in
|
|||||||
if systemctl is-active "$SERVICE" &>/dev/null ; then
|
if systemctl is-active "$SERVICE" &>/dev/null ; then
|
||||||
systemctl stop "$SERVICE"
|
systemctl stop "$SERVICE"
|
||||||
for module in $REMOVE_MODULES ; do
|
for module in $REMOVE_MODULES ; do
|
||||||
rmmod -w $module
|
rmmod $module
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -29,7 +29,7 @@ case "$1" in
|
|||||||
if systemctl is-active "$SERVICE" &>/dev/null ; then
|
if systemctl is-active "$SERVICE" &>/dev/null ; then
|
||||||
systemctl stop "$SERVICE"
|
systemctl stop "$SERVICE"
|
||||||
for module in $REMOVE_MODULES ; do
|
for module in $REMOVE_MODULES ; do
|
||||||
rmmod -w $module
|
rmmod $module
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user