#!/bin/sh /etc/rc.common
# Copyright (C) 2011-2014 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
}

stop() {
	service_stop /sbin/rngd
}