Changeset 1177 in MondoRescue for branches/stable
- Timestamp:
- Feb 16, 2007, 7:20:04 PM (18 years ago)
- Location:
- branches/stable/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/distributions/conf/mindi.conf.dist
r1097 r1177 116 116 mindi_net_mods="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 117 117 mindi_extra_mods="vfat fat loop md-mod linear raid0 raid1 xor raid5 lvm-mod dm-mod dm-snapshot dm-zero dm-mirror jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache" 118 # 119 # Modules that should NOT be part of the mini distribution 120 # created for recovery time 121 # 122 mindi_deny_mods="" 123 # Replace with that line for HP OCMP e.g. 124 #mindi_deny_mods="MPS_Driver_Mapper mps octtldrv tscttl streams" 118 125 # 119 126 # Additional modules to support -
branches/stable/mindi/mindi
r1167 r1177 109 109 NET_MODS="$mindi_net_mods" 110 110 EXTRA_MODS="$CDROM_MODS $mindi_extra_mods $mindi_additional_mods" 111 DENY_MODS="mindi_deny_mods" 111 112 112 113 BOOT_MEDIA_MESSAGE="$mindi_boot_msg" … … 939 940 local module_list module fname oss r kern 940 941 oss="/root/oss/modules" 941 module_list="`lsmod | sed -n '2,$s/ .*//p'`" 942 module_list="`lsmod | sed -n '2,$s/ .*//'`" 943 # Remove unwanted modules from list 944 for i in $DENY_MODS; do 945 module_list=`echo ${module_list} | tr ' ' '\n' | grep -Ev "^${i}$" | tr '\n' ' '` 946 done 942 947 ### 943 948 ### Sq-Modification ... Use kernelname for module search path if specified … … 1078 1083 1079 1084 echo -en "for outerloop in 1 2 3 4 5 ; do\necho -en \".\"\n" >> $outfile 1080 list_to_echo="`lsmod | sed -n '2,$s/ .*//p'`" 1085 # BERLIOS: That code is duplicated - Should be done once only 1086 list_to_echo="`lsmod | sed -n '2,$s/ .*//'`" 1087 # Remove unwanted modules from list 1088 for i in $DENY_MODS; do 1089 list_to_echo=`echo ${list_to_echo} | tr ' ' '\n' | grep -Ev "^${i}$" | tr '\n' ' '` 1090 done 1081 1091 1082 1092 # Make temporary modprobe.conf file if we are told so
Note:
See TracChangeset
for help on using the changeset viewer.