Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29259 Details for
Bug 47111
More severe depcache problems with hotplug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Contents of /sbin/depscan.sh
depscan.sh (text/plain), 1.25 KB, created by
dswhite42
on 2004-04-14 10:15:15 UTC
(
hide
)
Description:
Contents of /sbin/depscan.sh
Filename:
MIME Type:
Creator:
dswhite42
Created:
2004-04-14 10:15:15 UTC
Size:
1.25 KB
patch
obsolete
>#!/bin/bash ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># Author: Martin Schlemmer <azarah@gentoo.org> ># $Header: /home/cvsroot/gentoo-src/rc-scripts/sbin/depscan.sh,v 1.24 2004/02/26 17:29:43 azarah Exp $ > >source /etc/init.d/functions.sh > >ebegin "Caching service dependencies" > >if [ ! -d "${svcdir}" ] >then > if ! mkdir -p -m 0755 "${svcdir}" 2>/dev/null > then > eerror " Could not create needed directory '${svcdir}'!" > fi >fi > >for x in ${svcdir} softscripts snapshot options started >do > if [ ! -d "${x}" ] > then > if ! mkdir -p -m 0755 "${svcdir}/${x}" 2>/dev/null > then > eerror " Could not create needed directory '${svcdir}/${x}'!" > fi > fi >done > ># Clean out the non volitile directories ... >rm -rf ${svcdir}/dep{cache,tree} ${svcdir}/{broken,snapshot}/* > >retval=0 >SVCDIR="${svcdir}" >DEPTYPES="${deptypes}" >ORDTYPES="${ordtypes}" > >export SVCDIR DEPTYPES ORDTYPES > >cd /etc/init.d > >/bin/gawk \ > -f /lib/rcscripts/awk/functions.awk \ > -f /lib/rcscripts/awk/cachedepends.awk || \ > retval=1 > >bash "${svcdir}/depcache" | \ >\ >/bin/gawk \ > -f /lib/rcscripts/awk/functions.awk \ > -f /lib/rcscripts/awk/gendepends.awk || \ > retval=1 > >#eend ${retval} "Failed to cache service dependencies" > >exit ${retval} > > ># vim:ts=4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47111
:
28843
|
28844
| 29259 |
29262
|
29268
|
29289
|
29388
|
29389