First Commit
[librecmc/package-feed.git] / utils / haveged / files / haveged.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2012 OpenWrt.org
3
4 START=13
5
6 HAVEGED_THRESHOLD=1024
7 HAVEGED_DCACHE=32
8 HAVEGED_ICACHE=32
9
10 start() {
11         service_start /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1
12 }
13
14 stop() {
15         service_stop /usr/sbin/haveged
16 }