/[gentoo-src]/rc-scripts/src/awk/cachedepends.awk
Gentoo

Diff of /rc-scripts/src/awk/cachedepends.awk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.18 Revision 1.19
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-src/rc-scripts/src/awk/cachedepends.awk,v 1.18 2004/08/23 06:39:42 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-src/rc-scripts/src/awk/cachedepends.awk,v 1.19 2004/11/15 16:23:41 vapier Exp $
4 4
5function print_start() { 5function print_start() {
6 print "source /sbin/functions.sh" >> TMPCACHE 6 print "source /sbin/functions.sh" >> TMPCACHE
7 print "" >> TMPCACHE 7 print "" >> TMPCACHE
8 print "need() {" >> TMPCACHE 8 print "need() {" >> TMPCACHE
43} 43}
44 44
45function print_header2(mtime) { 45function print_header2(mtime) {
46 print "(" >> TMPCACHE 46 print "(" >> TMPCACHE
47 print " # Get settings for rc-script ..." >> TMPCACHE 47 print " # Get settings for rc-script ..." >> TMPCACHE
48 print " [ -e /etc/conf.d/basic ] && source /etc/conf.d/basic" >> TMPCACHE
49 print "" >> TMPCACHE 48 print "" >> TMPCACHE
50 print " [ -e \"/etc/conf.d/${myservice}\" ] && source \"/etc/conf.d/${myservice}\"" >> TMPCACHE 49 print " [ -e \"/etc/conf.d/${myservice}\" ] && source \"/etc/conf.d/${myservice}\"" >> TMPCACHE
51 print "" >> TMPCACHE 50 print "" >> TMPCACHE
52 print " [ -e /etc/conf.d/net ] && \\" >> TMPCACHE 51 print " [ -e /etc/conf.d/net ] && \\" >> TMPCACHE
53 print " [ \"${myservice%%.*}\" = \"net\" ] && \\" >> TMPCACHE 52 print " [ \"${myservice%%.*}\" = \"net\" ] && \\" >> TMPCACHE

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20