diff options
Diffstat (limited to 'sys-apps/readahead-list/files/init.d-readahead-list-early')
-rw-r--r-- | sys-apps/readahead-list/files/init.d-readahead-list-early | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/readahead-list/files/init.d-readahead-list-early b/sys-apps/readahead-list/files/init.d-readahead-list-early new file mode 100644 index 000000000000..d6a936febb6c --- /dev/null +++ b/sys-apps/readahead-list/files/init.d-readahead-list-early @@ -0,0 +1,23 @@ +#!/sbin/runscript +# 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 |