mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
rng-tools: import from oldpackages
signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
|
||||
START=98
|
||||
|
||||
RNGD_INTERVAL=30
|
||||
RNGD_AMOUNT=4000
|
||||
RNGD_DEVICE="/dev/urandom"
|
||||
|
||||
start() {
|
||||
service_start /sbin/rngd -r $RNGD_DEVICE -W $RNGD_AMOUNT -t $RNGD_INTERVAL
|
||||
}
|
||||
|
||||
stop() {
|
||||
service_stop /sbin/rngd
|
||||
}
|
||||
Reference in New Issue
Block a user