aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-20 08:34:30 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-20 08:34:30 +0000
commit94f1ea5c13f228954b1026779e61bdab9c1ee4d8 (patch)
tree8b04ee6ec5aefa350d9a49a040001885d930f56f
parentb4199681a12ab73278e835ad155eeb07f8c321ba (diff)
downloadmsec-94f1ea5c13f228954b1026779e61bdab9c1ee4d8.tar
msec-94f1ea5c13f228954b1026779e61bdab9c1ee4d8.tar.gz
msec-94f1ea5c13f228954b1026779e61bdab9c1ee4d8.tar.bz2
msec-94f1ea5c13f228954b1026779e61bdab9c1ee4d8.tar.xz
msec-94f1ea5c13f228954b1026779e61bdab9c1ee4d8.zip
*** empty log message ***
-rw-r--r--Makefile2
-rwxr-xr-xinit-sh/level4.sh2
-rwxr-xr-xinit-sh/level5.sh2
3 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a1b668e..4118f68 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ rpm_install: all
cp init-sh/grpuser.sh $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
cp init-sh/custom.sh $(RPM_BUILD_ROOT)/etc/security/msec/init-sh
cp cron-sh/*.sh $(RPM_BUILD_ROOT)/etc/security/msec/cron-sh
+ touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf
install -s src/promisc_check/promisc_check $(RPM_BUILD_ROOT)/usr/bin
echo "Install complete"
@@ -47,6 +48,7 @@ install:
(cp init-sh/*.[0-5] /etc/security/msec/init-sh/)
(cp init-sh/custom.sh /etc/security/msec/init-sh);
(cp init-sh/server.* /etc/security/msec/init-sh)
+ (touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf)
(cd src/promisc_check; make install)
(cd cron-sh; make install)
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index e07c4c7..9e8fa1e 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -94,7 +94,7 @@ echo " } : "
for service in `chkconfig --list | awk '{print $1}'`; do
chkconfig --del "${service}"
if ! chkconfig --msec --add "${service}"; then
- echo -e "\t- Services ${service} is now disabled."
+ echo -e "\t- Services ${service} scheduled to be disabled at next boot."
fi
done
echo -e "done.\n";
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index fb577bb..c1509a1 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -89,7 +89,7 @@ echo " } : "
for service in `chkconfig --list | awk '{print $1}'`; do
chkconfig --del "${service}"
if ! chkconfig --msec --add "${service}"; then
- echo -e "\t- Services ${service} is now disabled."
+ echo -e "\t- Services ${service} scheduled to be disabled at next boot."
fi
done
echo -e "done.\n";