blob: 8d0245e2247927ccddfa255d1a2083744775bb75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/sbin/runscript
# Copyright 2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sreadahead/files/sreadahead.rc,v 1.1 2009/01/23 05:57:56 darkside Exp $
description="Start sreadahead daemon"
depend() {
need localmount
before clock bootmisc consolefont keymaps rmnologin serial urandom
}
start() {
PACKFILE="/etc/readahead.packed"
if ! [ -f $PACKFILE ]
then
ewarn "Cannot find sreadahead pack file $PACKFILE"
return 1
fi
ebegin "Starting sreadahead"
/sbin/sreadahead
eend $?
}
# vim: ts=4 sw=4
|