busybox: enable flock by default
authorRoman Yeryomin <roman@advem.lv>
Sun, 17 Dec 2017 18:30:42 +0000 (20:30 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 2 Jan 2018 06:51:39 +0000 (07:51 +0100)
This is needed for procd init script protection to work.
flock adds 4248 bytes to stripped busybox binary.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
package/utils/busybox/Config-defaults.in

index afb7d48f8c25600867588c5aab26b08b45a544ae..4e429f43712cd72627b7cf50b6cc991c2e3a60f0 100644 (file)
@@ -1497,7 +1497,7 @@ config BUSYBOX_DEFAULT_FINDFS
        default n
 config BUSYBOX_DEFAULT_FLOCK
        bool
-       default n
+       default y
 config BUSYBOX_DEFAULT_FDFLUSH
        bool
        default n