r925 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Fri Jan 7 23:08:14 PST 2005


Author: tushar
Date: 2005-01-08 00:08:12 -0700 (Sat, 08 Jan 2005)
New Revision: 925

Modified:
   trunk/bsd-init.txt
Log:
Updated Hint: bsd-init

Modified: trunk/bsd-init.txt
===================================================================
--- trunk/bsd-init.txt	2005-01-02 09:33:48 UTC (rev 924)
+++ trunk/bsd-init.txt	2005-01-08 07:08:12 UTC (rev 925)
@@ -1,7 +1,7 @@
 AUTHOR: Leslie Polzer <leslie.polzer at gmx.net>
 AUTHOR:	Marc Heerdink <marc at koelkast.net>
 
-DATE: 2004-01-28
+DATE: 2005-01-08
 
 LICENSE: GNU Free Documentation License Version 1.2
 
@@ -424,12 +424,12 @@
 echo "Remounting root filesystem read-only..."
 /bin/mount -n -o remount,ro /
 
+echo "Flushing filesystem buffers..."
+/bin/sync
+
 echo "Unmounting local filesystems..."
 /bin/umount -a -tnonfs
 
-echo "Flushing filesystem buffers..."
-/bin/sync
-
 case "$0" in
 	*6)
 		echo "Please stand by while rebooting..."
@@ -466,10 +466,9 @@
    Now that we have created all the required files, some changes have to made to
  make them work. Run the following commands to do this:
 
-	chmod 755 /etc/rc.d/rc.0 /etc/rc.d/rc.1 /etc/rc.d/rc.2
-	chmod 755 /etc/rc.d/rc.3 /etc/rc.d/rc.sysinit
+	chmod 754 /etc/rc.d/rc.0 /etc/rc.d/rc.1 /etc/rc.d/rc.2
+	chmod 754 /etc/rc.d/rc.3 /etc/rc.d/rc.sysinit
 	ln -s /etc/rc.d/rc.2 /etc/rc.d/rc.4
-	ln -s /etc/rc.d/rc.2 /etc/rc.d/rc.5
 	ln -s /etc/rc.d/rc.0 /etc/rc.d/rc.6
 
    You're done! Take a deep breath, type (as root) "reboot" and watch
@@ -499,7 +498,7 @@
 
   And make it executable:
 
-	chmod 755 /etc/rc.d/rc.local
+	chmod 754 /etc/rc.d/rc.local
 
    It is very easy for you to disable /etc/rc.d/rc.local; just remove
  the executable flag from the script and it will be skipped at boot time.
@@ -531,9 +530,15 @@
 
 
 CHANGELOG:
+[2005-01-08]
+ * changed permissions from 755 to 754 (thanks to Randy McMurchy)
+ * removed linking from rc.2 to rc.5 - these are different files
+   (thanks to George Boudreau from DIY Linux)
+ * moved syncing before umounting (thanks to Noturno)
+
 [2004-09-10]
  * changed /tmp/random-seed to /etc/random-seed in case
- 	/tmp is mounted as tmpfs (thanks to C. T. Waley)
+   /tmp is mounted as tmpfs (thanks to C. T. Waley)
 
 [2004-06-05]
  * corrected a typo




More information about the hints mailing list