packages/utils/haveged/files/haveged.init
juhosg 2ac332d86b packages: haveged: upgrade to 1.7c
This upgrades haveged from 1.4 to 1.7c (closes #13979)

Signed-off-by: Christian Pointner <equinox@chaos-at-home.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 16:20:03 +00:00

17 lines
283 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 /usr/sbin/haveged -w $HAVEGED_THRESHOLD -d $HAVEGED_DCACHE -i $HAVEGED_ICACHE -v 1
}
stop() {
service_stop /usr/sbin/haveged
}