diff options
-rw-r--r-- | config-mgmt-swap.PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-mgmt-swap.PKGBUILD b/config-mgmt-swap.PKGBUILD index 05bf209..3705a1d 100644 --- a/config-mgmt-swap.PKGBUILD +++ b/config-mgmt-swap.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20170204.2 +pkgver=20170205 package() { preamble @@ -11,13 +11,13 @@ depends=(systemd-swap) # systemd-swap: # # - zswap: compress pages on disk -# - zram: compress pages in ram +# - zram: compress pages in RAM # - swapfc: in emergencies, allocate space in the filesystem to swap # to add-file -m755 usr/share/holo/files/10-"$pkgname"/etc/systemd/swap.conf.holoscript <<EOF #!/bin/sh sed ' - s/^# Zswap$/& (compress pages on disk)/ + s/^# Zswap\$/& (compress pages on disk)/ s/zswap_enabled=.*/zswap_enabled=1/ /zswap_zpool=z3fold/ { a# The systemd-swap default '\''z3fold'\'' was added in Linux 4.7; because we @@ -26,7 +26,7 @@ sed ' azswap_zpool=zbud } - /^# ZRam/s/.*/& (compress pages in RAM)/ + /^# ZRam\$/s/.*/& (compress pages in RAM)/ s/zram_enabled=.*/zram_enabled=1/ s/swapfc_enabled=.*/swapfc_enabled=1/ |