aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-20 18:04:02 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-20 18:04:02 +0000
commitd89237613742418c4671428fbe58a35c38be0ed4 (patch)
tree408205ffc7711dccac1188b5748d77a8429cc065
parent7ca72278ea4e6829d4de6f3072bf5576adab9d52 (diff)
downloadmsec-d89237613742418c4671428fbe58a35c38be0ed4.tar
msec-d89237613742418c4671428fbe58a35c38be0ed4.tar.gz
msec-d89237613742418c4671428fbe58a35c38be0ed4.tar.bz2
msec-d89237613742418c4671428fbe58a35c38be0ed4.tar.xz
msec-d89237613742418c4671428fbe58a35c38be0ed4.zip
*** empty log message ***
-rw-r--r--init-sh/lib.sh8
-rw-r--r--msec.spec2
2 files changed, 3 insertions, 7 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 2ad821f..d01d57f 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -152,12 +152,8 @@ LiloUpdate() {
if [[ ! -z ${password} ]]; then
tmpfile=`mktemp /tmp/secure.XXXXXX`
- cp -f /etc/lilo.conf ${tmpfile}
- while read line; do
- if ! echo "${line}" | grep -q "password"; then
- echo "${line}" > /etc/lilo.conf
- fi
- done < ${tmpfile}
+ cp /etc/lilo.conf ${tmpfile}
+ cat ${tmpfile} | grep -v password > /etc/lilo.conf
rm -f ${tmpfile}
clear
diff --git a/msec.spec b/msec.spec
index cc97cdb..0ebf7d4 100644
--- a/msec.spec
+++ b/msec.spec
@@ -4,7 +4,7 @@
Summary: Security Level & Program for the Linux Mandrake distribution
Name: msec
Version: %{version}
-Release: 3mdk
+Release: 4mdk
Source: %{name}-%{version}.tar.bz2
Copyright: GPL
Group: System Environment/Base