diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-07 14:03:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-07 14:03:43 +0000 |
commit | de682b875738985e040b6162aaed6b57ccb78cd9 (patch) | |
tree | 6096283fbb7d7554b0b02f377413a7556103dc85 | |
parent | bc8f437ef812336397cc9f9322974272981aeff9 (diff) | |
download | alpine-conf-de682b875738985e040b6162aaed6b57ccb78cd9.tar.bz2 alpine-conf-de682b875738985e040b6162aaed6b57ccb78cd9.tar.xz |
setup-disk: add urandom as a service to start at boot
-rw-r--r-- | setup-disk.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in index 3be60bb..5fc9cb5 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -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 |