05074dd92a
I've checked the haveged makefile now, it only relies on librt, so the attached patch should have no issues under any platform. Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> git-svn-id: svn://svn.openwrt.org/openwrt/packages@31161 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
275 B
Bash
17 lines
275 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2012 OpenWrt.org
|
|
|
|
START=98
|
|
|
|
HAVEGED_THRESHOLD=1024
|
|
HAVEGED_DCACHE=32
|
|
HAVEGED_ICACHE=32
|
|
|
|
start() {
|
|
service_start /sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1
|
|
}
|
|
|
|
stop() {
|
|
service_stop /sbin/haveged
|
|
}
|