mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-12 13:48:24 +00:00
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)
This commit is contained in:
parent
86735992c8
commit
dc97db2e39
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user