]> Pileus Git - ~andy/sunrise/blob - sys-apps/timer_entropyd/files/timer_entropyd.initd
sys-apps/timer_entropyd: New ebuild to address bug 308599.
[~andy/sunrise] / sys-apps / timer_entropyd / files / timer_entropyd.initd
1 #!/sbin/runscript
2 # Copyright 1999-2010 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: $
5
6 depend() {
7         need localmount
8         after bootmisc modules isapnp coldplug hotplug
9         before net
10 }
11
12 start() {
13         ebegin "Starting timer_entropyd"
14         start-stop-daemon --start --quiet \
15                 --exec /usr/sbin/timer_entropyd > /dev/null
16         eend $?
17 }
18
19 stop() {
20         ebegin "Stopping timer_entropyd"
21         start-stop-daemon --stop --quiet --exec /usr/sbin/timer_entropyd
22         eend $?
23 }