Remove obsolete and no loger used definitions of KERNELMIN
This commit is contained in:
parent
c8a98f25e8
commit
e8ed531999
@ -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"
|
||||||
|
|
||||||
|
@ -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: "
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user