CVS: theedge/var/lib/lunar/functions build.lunar, 1.10, 1.11 postbuild.lunar, 1.8, 1.9

sofar at lunar-linux.org sofar at lunar-linux.org
Thu Aug 14 21:27:55 GMT 2003


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv23669/var/lib/lunar/functions

Modified Files:
	build.lunar postbuild.lunar 
Log Message:
yeah I know... looks like nothing... somehow this fixes all those init.d scripts hanging since a tee traces the fork to the daemon and waits before it exits... this should fix all 3 bugs on bugs.lunar-linux.org related to init.d scripts (I hope)


Index: build.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/build.lunar,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- build.lunar	4 Aug 2003 23:19:42 -0000	1.10
+++ build.lunar	14 Aug 2003 21:27:53 -0000	1.11
@@ -258,9 +258,10 @@
     install_pam_confs
     install_services
     install_xinetd_confs
-    install_initd
     install_bashmisc
   } | tee -a $C_LOG
+  
+  install_initd
 
   devoke_installwatch
   ldconfig

Index: postbuild.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/postbuild.lunar,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- postbuild.lunar	4 Aug 2003 23:19:42 -0000	1.8
+++ postbuild.lunar	14 Aug 2003 21:27:53 -0000	1.9
@@ -141,7 +141,7 @@
   [ -d /etc/init.d ] || mkdir -p /etc/init.d
 
   if  [ -d  $SCRIPT_DIRECTORY/init.d  ] ; then
-    verbose_msg "handling init.d scripts"
+    verbose_msg "handling init.d scripts" | tee -a $C_LOG
     cd $SCRIPT_DIRECTORY/init.d
     SCRIPTS=[!CVS]*
     ALL_INITDSCRIPTS=$(grep -l "# chkconfig: " $SCRIPTS | cut -d/ -f2)
@@ -214,8 +214,8 @@
 
 
 install_bashmisc () {
-  debug_msg "install_bashmisc  ($@)"
-  if [ -d $SCRIPT_DIRECTORY/profile.d ]; then
+  debug_msg "install_bashmisc ($@)"
+  if [ -d $SCRIPT_DIRECTORY/profile.d ] ; then
     [ -d /etc/profile.d ] || mkdir -p /etc/profile.d
     install -g 0 -o 0 -m 644 $SCRIPT_DIRECTORY/profile.d/*.rc /etc/profile.d
     message "\n${MESSAGE_COLOR}Please log out and log in again to make changes in your shell\nenvironment take effect.${DEFAULT_COLOR}\n"




More information about the Lunar-commits mailing list