| 1 |
#!/bin/bash
|
| 2 |
# Copyright 1999-2002 Gentoo Technologies, Inc.
|
| 3 |
# Distributed under the terms of the GNU General Public License, v2
|
| 4 |
# Author: Martin Schlemmer <azarah@gentoo.org>
|
| 5 |
# $Header$
|
| 6 |
|
| 7 |
source /etc/init.d/functions.sh
|
| 8 |
|
| 9 |
ebegin "Caching service dependencies"
|
| 10 |
|
| 11 |
/bin/gawk -v SVCDIR="${svcdir}" \
|
| 12 |
-f /lib/rcscripts/awk/cachedepends.awk \
|
| 13 |
$(find /etc/init.d/ -type f -maxdepth 1)
|
| 14 |
|
| 15 |
cd /etc/init.d
|
| 16 |
|
| 17 |
bash ${svcdir}/depcache | \
|
| 18 |
/bin/gawk -v SVCDIR="${svcdir}" \
|
| 19 |
-v DEPTYPES="${deptypes}" \
|
| 20 |
-v ORDTYPES="${ordtypes}" \
|
| 21 |
-f /lib/rcscripts/awk/gendepends.awk
|
| 22 |
|
| 23 |
eend 0
|
| 24 |
|