suse startup fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I checked out the latest source and built the rpms, and this time i
replaced the init scripts. There was a one line change i must have
missed in the init script for suse. The suse "start_daemon" needs the
whole path so i just made PROCESS=$DAEMON if it has the
/lib/lsb/init-functions file.

Here's the patch.

Eli Criffield
From 952768b46ce252bbee5febb61296f30fa7a30283 Mon Sep 17 00:00:00 2001
From: Eli Criffield <elicriffield@xxxxxxxxx>
Date: Wed, 9 Jan 2008 13:53:41 -0600
Subject: [PATCH] Quick change for SUSE startup

---
 init-scripts/certmaster |    1 +
 init-scripts/funcd      |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/init-scripts/certmaster b/init-scripts/certmaster
index 01ad3bb..43b2b3e 100755
--- a/init-scripts/certmaster
+++ b/init-scripts/certmaster
@@ -48,6 +48,7 @@ if [ -f /lib/lsb/init-functions ]; then
   alias LOG_SUCCESS=log_success_msg
   alias LOG_FAILURE=log_failure_msg
   alias LOG_WARNING=log_warning_msg
+  PROCESS=$DAEMON
 elif [ -f /etc/init.d/functions ]; then
   . /etc/init.d/functions
   alias START_DAEMON=daemon
diff --git a/init-scripts/funcd b/init-scripts/funcd
index ef8793c..3243284 100755
--- a/init-scripts/funcd
+++ b/init-scripts/funcd
@@ -50,6 +50,7 @@ if [ -f /lib/lsb/init-functions ]; then
   alias LOG_SUCCESS=log_success_msg
   alias LOG_FAILURE=log_failure_msg
   alias LOG_WARNING=log_warning_msg
+  PROCESS=$DAEMON
 elif [ -f /etc/init.d/functions ]; then
   . /etc/init.d/functions
   alias START_DAEMON=daemon
-- 
1.5.2.5

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux