modules-update -> update-modules

This commit is contained in:
Mike Frysinger 2007-04-07 09:28:00 +00:00
parent 6c29966364
commit 2efe075803
3 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,10 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts # ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
07 Apr 2007; Mike Frysinger <vapier@gentoo.org>:
"modules-update" -> "update-modules".
05 Apr 2007; Roy Marples <uberlord@gentoo.org>: 05 Apr 2007; Roy Marples <uberlord@gentoo.org>:
Rewrite the core parts in C. We now provide librc so other programs can Rewrite the core parts in C. We now provide librc so other programs can

View File

@ -55,7 +55,7 @@ start() {
if [ -z "${CDBOOT}" -a ! -e /etc/modules.conf ] && \ if [ -z "${CDBOOT}" -a ! -e /etc/modules.conf ] && \
[ $(KV_to_int "${KV}") -lt $(KV_to_int '2.5.48') -o -x /sbin/modprobe.old ] [ $(KV_to_int "${KV}") -lt $(KV_to_int '2.5.48') -o -x /sbin/modprobe.old ]
then then
echo '### This file is automatically generated by modules-update' \ echo '### This file is automatically generated by update-modules' \
> /etc/modules.conf 2>/dev/null > /etc/modules.conf 2>/dev/null
[ ! -f /etc/modules.conf ] && \ [ ! -f /etc/modules.conf ] && \
ewarn "Cannot update /etc/modules.conf!" ewarn "Cannot update /etc/modules.conf!"
@ -65,7 +65,7 @@ start() {
if [ -z "${CDBOOT}" ] && \ if [ -z "${CDBOOT}" ] && \
[ -f /etc/modules.conf -o $(KV_to_int "${KV}") -ge $(KV_to_int '2.5.48') ] [ -f /etc/modules.conf -o $(KV_to_int "${KV}") -ge $(KV_to_int '2.5.48') ]
then then
/sbin/modules-update /sbin/update-modules
fi fi
local auto="" local auto=""

View File

@ -10,10 +10,10 @@ name. Comments begin with a `#', and everything on the line after it is
ignored. This file is read by the \fI/etc/init.d/modules\fR initscript, ignored. This file is read by the \fI/etc/init.d/modules\fR initscript,
which is usually linked in the \fI/etc/runlevels/boot\fR directory. which is usually linked in the \fI/etc/runlevels/boot\fR directory.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR modules-update (8), .BR update-modules (8),
.BR modprobe (8), .BR modprobe (8),
.BR modules.conf (5) .BR modules.conf (5)
.TP .TP
The \fI/sbin/modules-update\fR script. The \fI/sbin/update-modules\fR script.
.TP .TP
The files in \fI/etc/modules.d\fR. The files in \fI/etc/modules.d\fR.