mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user