[Lunar-commits] CVS: moonbase/utils/sysvinit/init.d rcS, 1.1.1.1, 1.2

Auke Kok sofar at lunar-linux.org
Thu Jun 10 09:23:01 GMT 2004


Update of /var/cvs/lunar/moonbase/utils/sysvinit/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv27453/init.d

Modified Files:
	rcS 
Log Message:
Reworked this after some extensive tests. Better installation tracking, no need to bump UPDATED tho, it's all cosmetics and internals. Should provide better updates on new installations


Index: rcS
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/sysvinit/init.d/rcS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- rcS	21 Aug 2002 00:55:22 -0000	1.1.1.1
+++ rcS	10 Jun 2004 09:22:58 -0000	1.2
@@ -1,15 +1,10 @@
 #!/bin/sh
 
-PATH1="/sbin:/usr/sbin:/usr/local/sbin"
-PATH2="/bin:/usr/bin:/usr/local/bin"
-PATH3="/usr/games:/usr/local/games"
-PATH4="/usr/bin/X11:/."
- PATH="$PATH1:$PATH2:$PATH3:$PATH4"
-
-export  PATH
-umask   022
-trap    ":" INT QUIT TSTP
+umask 022
+trap ":" INT QUIT TSTP
 
-for  SCRIPT  in  /etc/rcS.d/S*;  do
-  [  -x  $SCRIPT  ]  &&  $SCRIPT  start
+for SCRIPT in /etc/rcS.d/S* ; do
+  if [ -x $SCRIPT ] ; then
+	  $SCRIPT start
+	fi
 done



More information about the Lunar-commits mailing list