Commit de682b87 authored by Natanael Copa's avatar Natanael Copa

setup-disk: add urandom as a service to start at boot

parent bc8f437e
......@@ -399,7 +399,8 @@ EOF
# manually add swap to mounted fstab and add the swap service to the boot runlevel
echo -e "$(uuid_or_device $swap_dev)\tswap\t\tswap\tdefaults 0 0" >> /mnt/etc/fstab
chroot /mnt ""rc-update --quiet add swap boot""
chroot /mnt rc-update --quiet add swap boot
chroot /mnt rc-update --quiet add urandom boot
unmount_partitions /mnt
swapoff -a
......
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