Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 60413 Details for
Bug 68689
modules-update clears /etc/modprobe.conf if there is an error in /etc/modules.conf
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to return error, if modprobe fails to generate a file
generate-modprobe.conf.patch (text/plain), 953 bytes, created by
Klaus S. Madsen
on 2005-06-01 13:48:50 UTC
(
hide
)
Description:
Patch to return error, if modprobe fails to generate a file
Filename:
MIME Type:
Creator:
Klaus S. Madsen
Created:
2005-06-01 13:48:50 UTC
Size:
953 bytes
patch
obsolete
>--- generate-modprobe.conf.old 2005-06-01 22:37:11.133576200 +0200 >+++ generate-modprobe.conf 2005-06-01 22:38:09.065305142 +0200 >@@ -41,16 +41,16 @@ > cat > $MODPROBECONF > elif [ -x /sbin/modprobe.old ]; then > # In sbin. >- /sbin/modprobe.old -c > $MODPROBECONF >+ /sbin/modprobe.old -c > $MODPROBECONF || exit 1 > elif modprobe.old -c >/dev/null 2>&1; then > # Somewhere in path. >- modprobe.old -c > $MODPROBECONF >+ modprobe.old -c > $MODPROBECONF || exit 1 > elif /sbin/modprobe -V 2>/dev/null | grep -q 'modprobe version'; then > # Running /sbin/modprobe gives old version. >- /sbin/modprobe -c > $MODPROBECONF >+ /sbin/modprobe -c > $MODPROBECONF || exit 1 > elif modprobe -V 2>/dev/null | grep -q 'modprobe version'; then > # Running modprobe gives old version. >- modprobe -c > $MODPROBECONF >+ modprobe -c > $MODPROBECONF || exit 1 > else > echo Cannot find old version of modprobe. Giving up. 2>&1 > exit 1
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68689
: 60413