packages/utils/rng-tools/files/rngd.uci_defaults
2018-10-18 16:56:47 +08:00

9 lines
159 B
Bash

#!/bin/sh
uci -q show system.@rngd[0] || {
uci add system rngd
uci set system.@rngd[0].enabled=0
uci set system.@rngd[0].device=/dev/urandom
uci commit
}