diff options
Diffstat (limited to 'sys-block/zram-init/zram-init-9999.ebuild')
-rw-r--r-- | sys-block/zram-init/zram-init-9999.ebuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sys-block/zram-init/zram-init-9999.ebuild b/sys-block/zram-init/zram-init-9999.ebuild index adc7997651c8..c591f149b38a 100644 --- a/sys-block/zram-init/zram-init-9999.ebuild +++ b/sys-block/zram-init/zram-init-9999.ebuild @@ -29,19 +29,18 @@ RDEPEND=" DISABLE_AUTOFORMATTING=true DOC_CONTENTS="\ -To use zram-init, activate it in your kernel and add it to the default -runlevel: - rc-update add zram-init default -If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with -systemctl. You might need to modify the following file depending on the +To use zram-init, activate it in your kernel and add it to the default runlevel: + rc-update add zram-init default +If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with +systemctl. You might need to modify the following file depending on the number of devices that you want to create: - ${EROOT}/etc/modprobe.d/zram.conf. -If you use the \$TMPDIR as zRAM device with OpenRC, you should add zram-init + /etc/modprobe.d/zram.conf. +If you use the \$TMPDIR as zram device with OpenRC, you should add zram-init to the boot runlevel: - rc-update add zram-init boot -Still for the same case, you should add in the OpenRC configuration file + rc-update add zram-init boot +Still for the same case, you should add in the OpenRC configuration file for the services using \$TMPDIR the following line: - rc_need=\"zram-init\"" + rc_need=\"zram-init\"" src_prepare() { default |