haveged: import from oldpackages. no changes

This commit is contained in:
Hannu Nyman
2014-07-22 18:12:13 +03:00
parent 65718af1fc
commit fce33219bf
2 changed files with 83 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2012 OpenWrt.org
START=98
HAVEGED_THRESHOLD=1024
HAVEGED_DCACHE=32
HAVEGED_ICACHE=32
start() {
service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1
}
stop() {
service_stop /usr/sbin/haveged
}