@@ -170,11 +170,6 else | |||||
170 | fi |
|
170 | fi | |
171 |
|
171 | |||
172 | if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then |
|
172 | if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then | |
173 |
|
||||
174 | # Remove cmdline.txt entry of starting zswap |
|
|||
175 | if [ "$KERNEL_ZSWAP" = true ] ; then |
|
|||
176 | sed -i 's|zswap.enabled=1 zswap.max_pool_percent=25 zswap.compressor=lz4||g' |
|
|||
177 | fi |
|
|||
178 | # Create temporary directory for systemd-swap sources |
|
173 | # Create temporary directory for systemd-swap sources | |
179 | temp_dir=$(as_nobody mktemp -d) |
|
174 | temp_dir=$(as_nobody mktemp -d) | |
180 |
|
175 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant