diff options
author | Emil Muratov <gpm@hotplug.ru> | 2018-11-01 21:53:43 +0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-07-07 13:02:06 +0200 |
commit | afa5ce2493505dc0a0de4cefa9ccbf3a6389bdbc (patch) | |
tree | 67bdd4c9b84dfb507610cc9e55a3a483d1a27f85 /package | |
parent | b062c90f47dd0745562a8f2618c2a43136a4c7e1 (diff) | |
download | upstream-afa5ce2493505dc0a0de4cefa9ccbf3a6389bdbc.tar.gz upstream-afa5ce2493505dc0a0de4cefa9ccbf3a6389bdbc.tar.bz2 upstream-afa5ce2493505dc0a0de4cefa9ccbf3a6389bdbc.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>
Diffstat (limited to 'package')
-rw-r--r-- | package/utils/busybox/Config-defaults.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in index e81747be3c..37238f05c3 100644 --- a/package/utils/busybox/Config-defaults.in +++ b/package/utils/busybox/Config-defaults.in @@ -1755,16 +1755,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 |