filesystem: swap: yet another fix, add UUID= when calling swapon using uuid
This commit is contained in:
parent
f7e9e7befb
commit
29c1787405
@ -296,7 +296,7 @@ blkid | grep /dev/sd | while read line; do
|
||||
echo "\
|
||||
UUID=${uuid} $mount_point \
|
||||
${fstype:-"auto"} ${options:-"noauto,user"}${extra_options} ${check_options}" >> $fstab
|
||||
[ "$fstype" = "swap" ] && /sbin/swapon -p 1 ${uuid}
|
||||
[ "$fstype" = "swap" ] && /sbin/swapon -p 1 UUID=${uuid}
|
||||
else
|
||||
echo "\
|
||||
$dev $mount_point \
|
||||
|
Loading…
Reference in New Issue
Block a user