Bootsplash - progress bar - not working
Hi all!
I was yesterday playing with the bootsplash, but I have some problems. I write there what I have done: 1) I have patched, compiled and installed the new kernel (2.6.12.2) 2) I downloaded and installed bootsplash-3.0.7.tgz (I use Slackware-current) 3) I have created th folders /etc/bootsplash/themes... and copy there the themes 4) And I created a initrd.splash in /boot 5) then start lilo and the bootsplash work after restart, but when I use silent mode the progress bar dont work. I know that I must do something with rc_splash() script or so, but the info on bootsplash.org is not fully. there is a file /etc/init.d/rc - but I dont know wich file is it in Slackware. Can me please somebody help? And write there a easily installation, I know that Im near of my goal :) Thanks! |
The way I do it in slackware is create /etc/rc.d/rc.progress with:
Code:
#!/bin/sh # Load the splash function . /etc/rc.d/rc.progress At the end of rc.local add: # Remove the temporary progress bar file rm -f /tmp/progressbar After that just add "progressup" to each file where you want the progress bar to increase (make sure it is at the start of a new line each time). An example diff for rc.S in current is: Code:
@@ -5,6 +5,9 @@ |
This just caught my attention due to someone on IRC referencing it.
I feel obliged to mention that perhaps writing to /tmp like this is fundamentally unsafe on a multi-user machine. Should you ever happen to clear /tmp after booting, one of your users can do something as simple as: ln -s /etc/shadow /tmp/progressbar ...and really ruin your day. Your next boot-up will not go as planned. I suggest you use /boot/progressbar, or /root/.progressbar instead. /var/run/progressbar would also be good, but might react oddly if /var is it's own filesystem. Other than that, the progressup() function is pretty slick. |
All times are GMT -5. The time now is 07:57 PM. |