From 66af03705ea6e54d2c658057061422327fe17b98 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Mon, 4 Feb 2008 11:41:10 -0200 Subject: [PATCH] Fixed shutdown.fb file name (reported by Metalshark) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Metalshark says: January 28th, 2008 at 7:32 pm - Edit Tested this on an ASUS EEE. Basically needed this to modify hwclock lines with –directisa when mucking about with the kernel. There is one fault. /boot/shutdown.b should be /boot/shutdown.fb - you were missing the “f”. Otherwise a sterling effort! Signed-off-by: Claudio Matsuoka --- ffinit.c | 2 +- finit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ffinit.c b/ffinit.c index 9af5fcbb..70934b36 100644 --- a/ffinit.c +++ b/ffinit.c @@ -349,7 +349,7 @@ void shutdown(int sig) kill(-1, SIGTERM); system("/bin/echo -e \"\033[?25l\033[30;40m\"; " - "/bin/cp /boot/shutdown.b /dev/fb/0"); + "/bin/cp /boot/shutdown.fb /dev/fb/0"); sleep(1); system("/usr/sbin/alsactl store > /dev/null 2>&1"); diff --git a/finit.c b/finit.c index fa0f2a1d..80842115 100644 --- a/finit.c +++ b/finit.c @@ -232,7 +232,7 @@ void shutdown(int sig) kill(-1, SIGTERM); system("/bin/echo -e \"\033[?25l\033[30;40m\"; " - "/bin/cp /boot/shutdown.b /dev/fb/0"); + "/bin/cp /boot/shutdown.fb /dev/fb/0"); sleep(1); sleep(1);