summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/random
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/random')
-rwxr-xr-xetc/rc.d/random5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.d/random b/etc/rc.d/random
index 160b1d4..8d9fd44 100755
--- a/etc/rc.d/random
+++ b/etc/rc.d/random
@@ -4,7 +4,7 @@
#
# PROVIDE: random
-# REQUIRE: var initrandom
+# REQUIRE: initrandom var
# BEFORE: netif
# KEYWORD: nojail shutdown
@@ -14,6 +14,9 @@ name="random"
start_cmd="random_start"
stop_cmd="random_stop"
+extra_commands="saveseed"
+saveseed_cmd="${name}_stop"
+
feed_dev_random()
{
if [ -f "${1}" -a -r "${1}" -a -s "${1}" ]; then
OpenPOWER on IntegriCloud