Bug#225204: modconf: please, be consinstent with modules-init-tools
Package: modconf
Version: 0.2.44
Severity: wishlist
Tags: patch
Current module-init-tools now loads
/etc/modules-$KernelVersion
/etc/modules-2.6
/etc/modules
in higher order of preference. The following patch is consistent with
this policy:
--- params 2002-03-25 06:03:45.000000000 +0100
+++ paramsmy 2003-12-27 14:59:12.000000000 +0100
@@ -50,6 +50,9 @@
Dir_Prefix=$Target/lib/modules/$KernelVersion
CFGFILE=$Target/etc/modules.conf
MODULESFILE=$Target/etc/modules
+[ -f $Target/etc/modules-2.6 ] && MODULESFILE=$Target/etc/modules-2.6
+[ -f $Target/etc/modules-$KernelVersion ] && MODULESFILE=$Target/etc/modules-$KernelVersion
+
MODUTILSDIR=$Target/etc/modutils
CFGHEADER="### This file is automatically generated by update-modules"
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gandalf 2.6.0-frankie #1 Mon Dec 22 20:47:46 CET 2003 i686
Locale: LANG=it_IT.ISO-8859-15@euro, LC_CTYPE=it_IT.ISO-8859-15@euro
Versions of packages modconf depends on:
hi modutils 2.4.25-3 Linux module utilities
ii whiptail [whiptail-provider] 0.51.4-18 Displays user-friendly dialog boxe
-- no debconf information
Reply to: