[Orca-checkins] rev 224 - in trunk/orca: . data_gatherers/orcallator

blair at orcaware.com blair at orcaware.com
Sun Mar 30 20:32:25 PST 2003


Author: blair
Date: 2003-03-30 20:32:12 -0800 (Sun, 30 Mar 2003)
New Revision: 224

Modified:
   trunk/orca/INSTALL
   trunk/orca/data_gatherers/orcallator/Makefile.in
Log:
* data_gatherers/orcallator/Makefile.in (orcallator_run_at_boot):
  Create symbolic links instead of hard links from /etc/init.d/orcallator
    to /etc/rc?.d/???orcallator.
  Add a symbolic from /etc/init.d/orcallator to /etc/rc2.d/K01orcallator.

* INSTALL (Install orcallator boot and halt time start/stop scripts in
           /etc/init.d/ and /etc/rc?.d/):
  Improve the description of what this step does.


Modified: trunk/orca/INSTALL
==============================================================================
--- trunk/orca/INSTALL	(original)
+++ trunk/orca/INSTALL	2003-03-30 20:32:21.000000000 -0800
@@ -24,8 +24,8 @@
     a) Install the SE toolkit.
     b) Apply a patch to the SE 3.0 toolkit if necessary.
     c) Examine Orca/orcallator programs.
-    d) Install orcallator boot and halt time start/stop scripts
-       in /etc/rc?.d/.
+    d) Install orcallator boot and halt time start/stop scripts in
+       /etc/init.d/ and /etc/rc?.d/.
     e) Run start_orcallator on all systems.
     f) Edit orcallator.cfg.
 
@@ -428,20 +428,24 @@
          orcallator_running - run to see if any orcallators are not running
 
     d) Install orcallator boot and halt time start/stop scripts in
-       /etc/rc?.d/.
+       /etc/init.d/ and /etc/rc?.d/.
+
+       If you want to have orcallator run when the machine boots, you
+       can manually copy data_gatherers/orcallator/S99orcallator into
+       /etc/init.d/orcallator and set up symbolic links from that file
+       to the appropriate K* and S* files in /etc/rc?.d/.
 
-       If you wish to have orcallator run when the machine boots, you
-       can install the included S99orcallator file into the proper
-       /etc/*.d/ directories.  To make installing this easier, you can
-       say
+       To make installing this easier, you can run
 
        % make orcallator_run_at_boot
 
-       from either the top level Makefile or the orcallator/Makefile.
-       It will remove any old orcallator files and install
-       S99orcallator into /etc/init.d/orcallator,
-       /etc/init.d/rc0.d/K01orcallator,
-       /etc/init.d/rc1.d/K01orcallator and /etc/rc3.d/S99orcallator.
+       from either the top of the Orca source tree or from the
+       data_gatherers/orcallator directory.  This will first delete
+       any existing start and stop scripts in the locations it will
+       install files into.  By default, it will copy S99orcallator
+       into /etc/init.d/orcallator and create symbolic links to
+       /etc/init.d/rc0.d/K01orcallator, /etc/init.d/rc1.d/K01orcallator,
+       /etc/init.d/rc2.d/K01orcallator, and /etc/rc3.d/S99orcallator.
 
     e) Run start_orcallator on all systems.
 

Modified: trunk/orca/data_gatherers/orcallator/Makefile.in
==============================================================================
--- trunk/orca/data_gatherers/orcallator/Makefile.in	(original)
+++ trunk/orca/data_gatherers/orcallator/Makefile.in	2003-03-30 20:32:21.000000000 -0800
@@ -68,11 +68,13 @@
 	-$(RM) $(INIT_D_DIR)/orcallator
 	-$(RM) $(RCX_D_CONTAINING_DIR)/rc0.d/K01orcallator
 	-$(RM) $(RCX_D_CONTAINING_DIR)/rc1.d/K01orcallator
+	-$(RM) $(RCX_D_CONTAINING_DIR)/rc2.d/K01orcallator
 	-$(RM) $(RCX_D_CONTAINING_DIR)/rc3.d/S99orcallator
 	$(INSTALL) -m 0744 S99orcallator $(INIT_D_DIR)/orcallator
-	ln $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc0.d/K01orcallator
-	ln $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc1.d/K01orcallator
-	ln $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc3.d/S99orcallator
+	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc0.d/K01orcallator
+	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc1.d/K01orcallator
+	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc2.d/K01orcallator
+	ln -s $(INIT_D_DIR)/orcallator $(RCX_D_CONTAINING_DIR)/rc3.d/S99orcallator
 
 clean:
 	$(RM) $(TARGETS)



More information about the Orca-checkins mailing list