busybox: turn on BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT for having $RANDOM
authorIlario Gelmetti <iochesonome@gmail.com>
Sun, 23 Apr 2023 14:23:45 +0000 (16:23 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 25 Apr 2023 20:01:20 +0000 (22:01 +0200)
$RANDOM shell variable is a convenient way for getting a random number from 0 to 32767

Signed-off-by: Ilario Gelmetti <iochesonome@gmail.com>
package/utils/busybox/Config-defaults.in

index 5378e92b9f19b31f6d20bca35e1b5461e9f33e9c..b3c3f9a0b2374004252a0bc68e9b03e2e924c471 100644 (file)
@@ -3023,7 +3023,7 @@ config BUSYBOX_DEFAULT_ASH_ALIAS
        default y
 config BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT
        bool
-       default n
+       default y
 config BUSYBOX_DEFAULT_ASH_EXPAND_PRMT
        bool
        default y