aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-04-19 10:07:59 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-04-19 10:07:59 +0000
commit13c65d3bc517f46608b20b9f15d388e479956c01 (patch)
tree3a34f8d28032374bb1bbe8ddfada2d5ce629db67 /init-sh
parent1aa24bce3e5db88620ede6130f272d76b64bf426 (diff)
downloadmsec-13c65d3bc517f46608b20b9f15d388e479956c01.tar
msec-13c65d3bc517f46608b20b9f15d388e479956c01.tar.gz
msec-13c65d3bc517f46608b20b9f15d388e479956c01.tar.bz2
msec-13c65d3bc517f46608b20b9f15d388e479956c01.tar.xz
msec-13c65d3bc517f46608b20b9f15d388e479956c01.zip
*** empty log message ***
Diffstat (limited to 'init-sh')
-rw-r--r--init-sh/lib.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index bf4de47..d65fa98 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -134,7 +134,8 @@ Ttylog() {
LoaderUpdate() {
- loader=/usr/sbin/detectloader
+ loader=`/usr/sbin/detectloader`
+
case "${loader}" in
"LILO")
file="/etc/lilo.conf"
@@ -175,8 +176,9 @@ LoaderUpdate() {
${at_exit};
}
-CleanLoaderRule() {
- loader=/usr/sbin/detectloader
+CleanLoaderRules() {
+ loader=`/usr/sbin/detectloader`
+ file=""
case "${loader}" in
"LILO")
file="/etc/lilo.conf"