mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #3767 from capntrips/fix-swap
systemd: fix swap partition handling when multiple present
This commit is contained in:
commit
2ddcea9684
@ -34,7 +34,7 @@ case $1 in
|
||||
mount)
|
||||
[ -z "$SWAP" -a -f "$SWAPFILE" ] && SWAP=$SWAPFILE
|
||||
for i in $SWAP; do
|
||||
swapon -p 10000 $SWAP
|
||||
swapon -p 10000 $i
|
||||
done
|
||||
;;
|
||||
unmount)
|
||||
|
Loading…
x
Reference in New Issue
Block a user