From 570bace5f2ba75f4fcc10a75c72726e8706cf14c Mon Sep 17 00:00:00 2001 From: Balbir Singh Date: Mon, 23 Feb 2009 14:10:58 +0000 Subject: From: Ivana Varekova This patch changes cgconfig.conf - comment all rows and rename example values - to have example which should be installed to /etc/. Move cgred to /etc/sysconfig and patch spec to install all /etc/* configuration files (at least they shows examples and help to user to do their own configuration).). Signed-off-by: Ivana Varekova Signed-off-by: Balbir Singh NOTE: The spec file is still broken due to lack of packaging of pam_cgroup.so. git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@337 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- scripts/init.d/cgred | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/init.d/cgred') diff --git a/scripts/init.d/cgred b/scripts/init.d/cgred index f0eebc4..bdd7979 100644 --- a/scripts/init.d/cgred +++ b/scripts/init.d/cgred @@ -48,8 +48,8 @@ CGRED_BIN=${exec_prefix}/${bindir}/cgrulesengd . /lib/lsb/init-functions # Read in configuration options. -if [ -f "/etc/cgred.d/cgred.conf" ] ; then - . /etc/cgred.d/cgred.conf +if [ -f "/etc/sysconfig/cgred.conf" ] ; then + . /etc/sysconfig/cgred.conf OPTIONS="$NODAEMON $LOG" if [ -n "$LOG_FILE" ]; then OPTIONS="$OPTIONS --log-file=$LOG_FILE" -- cgit