mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 14:21:24 +08:00
9 lines
159 B
Bash
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
|
|
}
|