From 7359c16a852c23740ef2874aa6b66f629d1473b7 Mon Sep 17 00:00:00 2001 From: Dan Egnor Date: Mon, 23 Nov 2009 19:25:44 -0800 Subject: [PATCH] Don't copy /proc/last_kmsg to /data/dontpanic/last_kmsg -- it gets generated on every boot, so this is a bunch of writing for no particularly good reason. --- rootdir/init.rc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index cd3fd9e36..808255ee1 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -86,11 +86,6 @@ loglevel 3 write /proc/apanic_console 1 - # Collect ramconsole data - copy /proc/last_kmsg /data/dontpanic/last_kmsg - chown root log /data/dontpanic/last_kmsg - chmod 0640 /data/dontpanic/last_kmsg - # Same reason as /data above mount yaffs2 mtd@cache /cache nosuid nodev chown system cache /cache