BootDriver

Joel Roth edited this page Apr 30, 2017 · 3 revisions

BootDriver

The BootDriver script should not be run directly from the command line. It is intended to be specified in the inittab file (/System/Settings/inittab), to be launched by process 1, init.

BootDriver takes a parameter, indicating which "runlevel" script should be executed. Here's a sample inittab with calls to BootDriver:

    l1:S:wait:/System/Index/bin/BootDriver BootUp 
    su:S:respawn:/sbin/sulogin 
     
    l2:12345:wait:/System/Index/bin/BootDriver Console 
    l6:6:wait:/System/Index/bin/BootDriver Reboot 
    l0:0:wait:/System/Index/bin/BootDriver Halt 
     
    ca:12345:ctrlaltdel:/sbin/shutdown -t1 -r now 
     
    1:2345:respawn:/System/Index/bin/agetty tty1 9600 
    2:2345:respawn:/System/Index/bin/agetty tty2 9600 
    3:2345:respawn:/System/Index/bin/agetty tty3 9600 
    4:2345:respawn:/System/Index/bin/agetty tty4 9600 
    5:2345:respawn:/System/Index/bin/agetty tty5 9600 
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.