kern.vt.color.0.rgb="#000000"
kern.vt.color.15.rgb="0,255,0"
Pcal|Pcal console:\
:al=yourusername:ht:np:sp#9600:
ttyv0 "/usr/libexec/getty Pcal" xterm onifexists secure
XPID=`/usr/bin/pgrep Xorg`
if [[ -z $XPID ]]
then
termatrix && vlock
else
echo ""
fi
DearHi,
Hm... I know it's not what you're asking for, but this is what I would do to achieve something inspired by your question...
Beware : playing with boot and login processes can be dangerous and make your computer unsusable
Edit /boot/loader.conf.local and add :
- add some colors to boot process messages :
for green textCode:kern.vt.color.0.rgb="#000000" kern.vt.color.15.rgb="0,255,0"
Create a new entry in /etc/gettytab (replace yourusername ):
- set up tty autologin :
Code:Pcal|Pcal console:\ :al=yourusername:ht:np:sp#9600:
Tell the system to use it for tty0 in /etc/ttys :
Code:ttyv0 "/usr/libexec/getty Pcal" xterm onifexists secure
Mine is .zshrc :
- use your shell rc file to start termatrix or cmatrix on startup when X is not running, and lock the terminal for security reason with vlock :
Code:XPID=`/usr/bin/pgrep Xorg` if [[ -z $XPID ]] then termatrix && vlock else echo "" fi
So the computer boots, you see green and white boot messages, you are automatically logged in on tty0 and it starts termatrix, then you hit Q or Ctrl+C, type your password and manually start X from tty0...
my 2cts
Cheers
Yes, and no... Yes, the kernel actually supports so called "slash screens" which can fully cover up the boot process. You can see as much in the kernel build configuration:i have idea, when freebsd14.2 boot, much more messages will appear, can we use termatrix digital rain to replace it ,and hide boot messages ?
See? So if we then check /boot/defaults/loader.conf we come across this tidbit:GENERIC said:# syscons is the legacy console driver, resembling an SCO console
device vga # VGA video card driver
device splash # Splash screen and screen saver support
device sc
### Splash screen configuration ############################ splash_bmp_load="NO" # Set this to YES for bmp splash screen!
splash_pcx_load="NO" # Set this to YES for pcx splash screen!
splash_txt_load="NO" # Set this to YES for TheDraw splash screen!
vesa_load="NO" # Set this to YES to load the vesa module
bitmap_load="NO" # Set this to YES if you want splash screen!
bitmap_name="splash.bmp" # Set this to the name of the file
bitmap_type="splash_image_data" # and place it on the module_path
splash="/boot/images/freebsd-logo-rev.png" # Set boot_mute=YES to load it
peter@bsd:/boot/kernel.bck $ ls *splash*
splash_bmp.ko splash_pcx.ko splash_txt.ko
peter@bsd:/boot/kernel.bck $
dearYes, and no... Yes, the kernel actually supports so called "slash screens" which can fully cover up the boot process. You can see as much in the kernel build configuration:
See? So if we then check /boot/defaults/loader.conf we come across this tidbit:
And if I then check my backup kernel... lo and behold:Code:### Splash screen configuration ############################ splash_bmp_load="NO" # Set this to YES for bmp splash screen! splash_pcx_load="NO" # Set this to YES for pcx splash screen! splash_txt_load="NO" # Set this to YES for TheDraw splash screen! vesa_load="NO" # Set this to YES to load the vesa module bitmap_load="NO" # Set this to YES if you want splash screen! bitmap_name="splash.bmp" # Set this to the name of the file bitmap_type="splash_image_data" # and place it on the module_path splash="/boot/images/freebsd-logo-rev.png" # Set boot_mute=YES to load it
These are the actual kernel modules that could make this happen.Code:peter@bsd:/boot/kernel.bck $ ls *splash* splash_bmp.ko splash_pcx.ko splash_txt.ko peter@bsd:/boot/kernel.bck $
Now, the bad news is that you're looking for an animation and as far as I'm aware BMP and PCX are fully static. However... mention of "TheDraw" up there also caught my attention because "back in the day" (way, way back) I used that critter to make ANSI drawings & animations for my BBS. I looked it up but couldn't find it in the ports collection, but I did dig up editors/tetradraw... and hold your horses: graphics/duhdraw which, as I suspected, is indeed a successor.
I'm not 100% sure, but theoretically (!) it should be possible to set up an ANSI animation of some sorts and have that play out during boot time. The kernel most definitely supports this, as can be seen above.
Hope this can help!