diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | init-sh/level4.sh | 2 | ||||
-rwxr-xr-x | init-sh/level5.sh | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -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"; |