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