[Lunar-commits] CVS: moonbase/utils/sysvinit BUILD,1.4,1.5

Auke Kok sofar at lunar-linux.org
Sat Nov 13 17:06:04 UTC 2004


Update of /var/cvs/lunar/moonbase/utils/sysvinit
In directory espresso.foo-projects.org:/tmp/cvs-serv30265

Modified Files:
	BUILD 
Log Message:
Adding bootmisc in here and a more flexible way of using LOCALE, consolefont and keymap stuff


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/sysvinit/BUILD,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- BUILD	10 Jun 2004 09:22:58 -0000	1.4
+++ BUILD	13 Nov 2004 17:06:01 -0000	1.5
@@ -1,30 +1,31 @@
 (
 
-  make  -C src          &&
-  prepare_install       &&
-  make  -C src install  &&
+  make -C src          &&
+  prepare_install      &&
+  make -C src install  &&
   install -m0755 $SCRIPT_DIRECTORY/service /sbin/service &&
-  mkdir -p /etc/rc0.d /etc/rc1.d /etc/rc2.d /etc/rc3.d /etc/rc4.d /etc/rc5.d /etc/rc6.d /etc/rcS.d /etc/init.d /var/run /var/log ||
-	# error out here in case of failure
-	exit 1
+  mkdir -p /etc/rc{S,0,1,2,3,4,5,6}.d /etc/init.d /var/{run,log} ||
+  # error out here in case of failure
+  exit 1
 	
-	# the rest should be safe now:
-	if [ ! -e /etc/inittab ] ; then
-	  install -m0600 $SCRIPT_DIRECTORY/inittab /etc/
-	fi
+  # the rest should be safe now:
+  if [ ! -e /etc/inittab ] ; then
+    install -m0600 $SCRIPT_DIRECTORY/inittab /etc/
+  fi
 	
-	for SCRIPT in halt rc rcS reboot signals ; do
-	  if [ ! -e /etc/init.d/$SCRIPT ] ; then
-		  install -m0700 $SCRIPT_DIRECTORY/init.d/$SCRIPT /etc/init.d/
-		fi
-	done
+  for SCRIPT in halt rc rcS reboot signals bootmisc ; do
+    if [ ! -e /etc/init.d/$SCRIPT ] ; then
+      install -m0700 $SCRIPT_DIRECTORY/init.d/$SCRIPT /etc/init.d/
+    fi
+  done
 	
-	ln -sf ../init.d/signals /etc/rc0.d/S80signals
-	ln -sf ../init.d/halt    /etc/rc0.d/S90halt
-	ln -sf ../init.d/signals /etc/rc6.d/S80signals
-	ln -sf ../init.d/reboot  /etc/rc6.d/S90reboot
+  ln -sf ../init.d/signals  /etc/rc0.d/S80signals
+  ln -sf ../init.d/halt     /etc/rc0.d/S90halt
+  ln -sf ../init.d/bootmisc /etc/rc0.d/S99bootmisc
+  ln -sf ../init.d/signals  /etc/rc6.d/S80signals
+  ln -sf ../init.d/reboot   /etc/rc6.d/S90reboot
 
-	touch     /var/run/utmp /var/log/wtmp /var/log/btmp /var/log/lastlog
-	chmod 644 /var/run/utmp /var/log/wtmp /var/log/btmp /var/log/lastlog
+  touch     /var/run/utmp /var/log/{w,b}tmp /var/log/lastlog
+  chmod 644 /var/run/utmp /var/log/{w,b}tmp /var/log/lastlog
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list