blob: 113d64f795bd241dfecc269092a2fc163e782eca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh /etc/rc.common
# Copyright (C) 2012 OpenWrt.org
START=13
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
}
|