Check if the swap partition ("hibernation") exist or not before swapoff command. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
Check if the swap partition ("hibernation") exist or not before swapon command. Since the partlabel appears late, change the script excution sequence to 99. Signed-off-by: Mason Huo <mason.huo@starfivetech.com>