From 9d8b48a338b813a538886d55629689ab1b5e45d3 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 31 Aug 2006 14:13:13 +0000 Subject: [PATCH] - Change init script to automatically turn on/off allow_ypbind boolean --- ypbind.init | 4 ++-- ypbind.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ypbind.init b/ypbind.init index 9ce4b0a..96312d6 100755 --- a/ypbind.init +++ b/ypbind.init @@ -29,7 +29,7 @@ OTHER_YPBIND_OPTS="" selinux_on() { [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled || return - echo "Turning on allow_ypbind SELinux boolean" + echo $"Turning on allow_ypbind SELinux boolean" setsebool allow_ypbind=1 } @@ -41,7 +41,7 @@ selinux_off() { . /etc/selinux/${SELINUXTYPE}/modules/active/booleans.local fi if [ $allow_ypbind == 0 ]; then - echo "Turning off allow_ypbind SELinux boolean" + echo $"Turning off allow_ypbind SELinux boolean" setsebool allow_ypbind=$allow_ypbind fi } diff --git a/ypbind.spec b/ypbind.spec index 2ff98ee..c8bcc34 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -1,7 +1,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain. Name: ypbind Version: 1.19 -Release: 4 +Release: 5 License: GPL Group: System Environment/Daemons Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2 @@ -85,6 +85,9 @@ exit 0 %doc README NEWS %changelog +* Thu Aug 31 2006 Dan Walsh - 3:1.19-5 +- Change init script to automatically turn on/off allow_ypbind boolean + * Wed Aug 23 2006 Steve Dickson - 3:1.19-4 - Remove the -s from install process making the -debuginfo package useful (bz 203851)