Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/modules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 138 by niro, Sun Jul 3 13:39:57 2005 UTC revision 690 by niro, Sat Mar 22 17:54:14 2008 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/modules,v 1.3 2005-07-03 13:39:57 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/modules,v 1.4 2008-03-22 17:54:14 niro Exp $
3    
4  #%rlevels: 7:s  #%rlevels: 7:s
5  #%start: 55  #%start: 55
# Line 27  fi Line 27  fi
27    
28  # get modules.autoload file matching to kernel  # get modules.autoload file matching to kernel
29  MODULESFILE=/etc/modules.autoload.d/kernel-$(kernel_major_version)  MODULESFILE=/etc/modules.autoload.d/kernel-$(kernel_major_version)
30    [[ ! -f ${MODULESFILE} ]] && MODULESFILE=/etc/modules.autoload
31    
32  (cat ${MODULESFILE}; echo) | # make sure there is a LF at the end  (cat ${MODULESFILE}; echo) | # make sure there is a LF at the end
33  while read module args  while read module args

Legend:
Removed from v.138  
changed lines
  Added in v.690