[Pkg-sysvinit-commits] r805 - in sysvinit/trunk/debian: . initscripts/etc/init.d

Petter Reinholdtsen pere at costa.debian.org
Sun Jul 23 22:36:32 UTC 2006


Author: pere
Date: 2006-07-23 22:36:29 +0000 (Sun, 23 Jul 2006)
New Revision: 805

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh
Log:
If /dev/.udev.log exists, move it to /var/log/udev.log.  Patch
from Scott James Remnant.


Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2006-07-23 22:35:47 UTC (rev 804)
+++ sysvinit/trunk/debian/changelog	2006-07-23 22:36:29 UTC (rev 805)
@@ -28,6 +28,8 @@
       init.d/rc if the progress bar is enabled, and to use the same
       way in sendsigs and rc to decide if it is enabled or not.  It
       will be enabled if /sbin/usplash_write is executable.
+    - If /dev/.udev.log exists, move it to /var/log/udev.log.  Patch
+      from Scott James Remnant.
   * Update standards version from 3.6.2.1 to 3.7.2.  No changes required.
   * Acknowledge NMU.  Thanks, Steinar H. Gunderson . (Closes: #359176)
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh	2006-07-23 22:35:47 UTC (rev 804)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/bootmisc.sh	2006-07-23 22:36:29 UTC (rev 805)
@@ -58,6 +58,14 @@
 		[ -f /var/log/dmesg ] && { chgrp adm /var/log/dmesg || : ; }
 	fi
 
+	#
+	#	Save udev log in /var/log/udev
+	#
+	if [ -e /dev/.udev.log ]
+	then
+		mv -f /dev/.udev.log /var/log/udev
+	fi
+
 	# Remove bootclean's flag files.
 	# Don't run bootclean again after this!
 	rm -f /tmp/.clean /var/run/.clean /var/lock/.clean




More information about the Pkg-sysvinit-commits mailing list