--- etc/init.d/rc.S.orig	2008-11-04 21:34:51.000000000 +0100
+++ etc/init.d/rc.S	2008-11-04 21:34:51.000000000 +0100
@@ -79,6 +79,20 @@
 [ -f /dev/.hotplug-cache ] || mount -o nosuid -t tmpfs dev /dev
 /sbin/makedevs -d /etc/device.table /
 mount -a
+
+# Load boot loader kernel_args API
+. /usr/bin/kernel_args
+# Backup kernel log ring buffer ASAP, so as not to lose its earliest entries
+if ka_isActiveVariable SaveKernelRingBuffer; then
+	ka_decreaseValue SaveKernelRingBuffer
+	dmesg > /var/dmesg-rc.S.log
+fi
+# Initiate inotify-tools file access logging
+if ka_isActiveVariable InotifyBootAnalysis; then
+	ka_decreaseValue InotifyBootAnalysis
+	/etc/init.d/rc.inotify_tools start 
+fi
+
 ##########################################################################################
 ##########################################################################################
 echo init-start 240 >/dev/watchdog
