CVS: moonbase/utils/modutils BUILD,1.4,1.5

Chuck Mead csm at lunar-linux.org
Sat Nov 1 01:24:46 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/modutils
In directory dbguin.lunar-linux.org:/tmp/cvs-serv24262

Modified Files:
	BUILD 
Log Message:
wrapping the S20modutils symlink to keep it from being installed if the luser
is using the new init system


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/modutils/BUILD,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- BUILD	25 Aug 2003 22:54:52 -0000	1.4
+++ BUILD	1 Nov 2003 01:24:43 -0000	1.5
@@ -6,8 +6,9 @@
                --enable-insmod-static   \
                --mandir=/usr/share/man  &&
   default_make                          &&
-  install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d   &&
-  ln -sf ../init.d/modutils /etc/rcS.d/S20modutils 
-
+  if [ ! -d /etc/rc.sysconfig ]; then
+     install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d
+     ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
+  fi
 )  > $C_FIFO 2>&1
 




More information about the Lunar-commits mailing list