summaryrefslogtreecommitdiff
blob: 40fcb7ad4511c64c278260c0504f28bc326477c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/sbin/openrc-run
# Copyright 2005 Robin H. Johnson <robbat2@orbis-terrarum.net>
# Distributed under the terms of the GNU General Public License v2
# $Id$


depend() {
	after checkroot
	# this should start as early as possible
	# we can't do 'before *' as that breaks it
	before hostname modules domainname crypto-loop checkfs localmount
}

start() {
	# force reading
	source /etc/conf.d/readahead-list
	f="${READAHEAD_LIST_call_early}"
	ebegin "readahead(2): ${f}"
	/sbin/readahead-list ${f}
	eend $?
}

# vim: ts=4 sw=4