Fixed shutdown.fb file name (reported by Metalshark)

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 <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2008-02-04 11:41:10 -02:00
parent 7348225111
commit 66af03705e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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);