addons: sleep.d/*.power: don't rmmod -w

... deprecated in kmod and kernel
This commit is contained in:
Stefan Saraev 2013-12-21 19:21:40 +02:00
parent 0e7c3332b4
commit 14ebb038bf
2 changed files with 2 additions and 2 deletions

View File

@ -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
;; ;;

View File

@ -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
;; ;;