Commit fed96018 authored by fsmithred's avatar fsmithred

sw in fstab

parent 39b353bc
......@@ -1456,9 +1456,9 @@ if [[ $use_existing_swap = "yes" ]] ; then
swap_part="$swap_dev"
fi
echo -e $"\n Adding swap entry to fstab...\n"
echo -e "$swap_part\tnone\tswap\tdefaults\t0\t0" >> /target/etc/fstab
echo -e "$swap_part\tnone\tswap\tsw\t0\t0" >> /target/etc/fstab
else
echo -e "/swapfile\tnone\tswap\tdefaults\t0\t0" >> /target/etc/fstab
echo -e "/swapfile\tnone\tswap\tsw\t0\t0" >> /target/etc/fstab
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment