Remove obsolete and no loger used definitions of KERNELMIN

This commit is contained in:
Silvan Calarco 2011-11-12 11:34:42 +01:00
parent c8a98f25e8
commit e8ed531999
3 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,6 @@ KERNELREL=`uname -r`
# check for modules existence or exit # check for modules existence or exit
[ -e /lib/modules/$KERNELREL/modules.dep ] || exit 0 [ -e /lib/modules/$KERNELREL/modules.dep ] || exit 0
KERNELMIN=`echo $KERNELREL | sed -e 's,[^\.]*\.,,' -e 's,\..*,,'`
[ -r /etc/modprobe.conf ] && modulesfile="/etc/modprobe.conf" [ -r /etc/modprobe.conf ] && modulesfile="/etc/modprobe.conf"
[ -d /etc/modprobe.d ] && modulesfile="$modulesfile /etc/modprobe.d/*.conf" [ -d /etc/modprobe.d ] && modulesfile="$modulesfile /etc/modprobe.d/*.conf"

View File

@ -8,8 +8,6 @@
. /etc/sysconfig/rc . /etc/sysconfig/rc
. $rc_functions . $rc_functions
KERNELMIN=`uname -r | sed -e 's,[^\.]*\.,,' -e 's,\..*,,'`
case "$1" in case "$1" in
start) start)
echo -n "Remounting root file system in read-write mode: " echo -n "Remounting root file system in read-write mode: "

View File

@ -8,8 +8,6 @@
. /etc/sysconfig/rc . /etc/sysconfig/rc
. $rc_functions . $rc_functions
KERNELMIN=`uname -r | sed -e 's,[^\.]*\.,,' -e 's,\..*,,'`
case "$1" in case "$1" in
start) start)