aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
diff options
context:
space:
mode:
authorEmil Muratov <gpm@hotplug.ru>2018-11-01 21:53:43 +0300
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:24:37 +0200
commitdc97db2e39fe59f150c8b4f913cd0ccaea4702d8 (patch)
tree70a712799fd105b0a7f580790bbd359243ab3109 /package/utils
parent86735992c8afa34393aade4e0e03d2a40b8497f2 (diff)
downloadupstream-dc97db2e39fe59f150c8b4f913cd0ccaea4702d8.tar.gz
upstream-dc97db2e39fe59f150c8b4f913cd0ccaea4702d8.tar.bz2
upstream-dc97db2e39fe59f150c8b4f913cd0ccaea4702d8.zip
busybox: enable swapon/off by default to make it consistent with mkswap
No size increase on busybox binary. Since busybox mkswap is already enabled by default it seems reasonable to enable swapon/off too. For ex. this obsoletes installing block-mount dependency for zram-swap. Signed-off-by: Emil Muratov <gpm@hotplug.ru> (cherry picked from commit afa5ce2493505dc0a0de4cefa9ccbf3a6389bdbc)
Diffstat (limited to 'package/utils')
-rw-r--r--package/utils/busybox/Config-defaults.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in
index aa2f70e499..c715e4b993 100644
--- a/package/utils/busybox/Config-defaults.in
+++ b/package/utils/busybox/Config-defaults.in
@@ -1749,16 +1749,16 @@ config BUSYBOX_DEFAULT_SETSID
default n
config BUSYBOX_DEFAULT_SWAPON
bool
- default n
+ default y
config BUSYBOX_DEFAULT_FEATURE_SWAPON_DISCARD
bool
- default n
+ default y
config BUSYBOX_DEFAULT_FEATURE_SWAPON_PRI
bool
- default n
+ default y
config BUSYBOX_DEFAULT_SWAPOFF
bool
- default n
+ default y
config BUSYBOX_DEFAULT_FEATURE_SWAPONOFF_LABEL
bool
default n