initfs: switch to VT#3 before run.d

* Make `vesad` allocate VTs 1..12 on startup. They can later be replaced
  by another display device.
* Switch to VT#3 before `run.d`
* Also set the mode of VT#3 to [`VtMode::Graphical`].

Signed-off-by: Anhad Singh <andypythonappdeveloper@gmail.com>
This commit is contained in:
Anhad Singh 2023-07-25 19:32:35 +10:00
parent 053df828f7
commit 2035dd968b

View File

@ -4,7 +4,7 @@ nulld
zerod
randd
inputd
vesad T T G
vesad T T T T T T T T T T T T
logd debug: display/vesa:1
stdio log:
ps2d us
@ -14,4 +14,5 @@ pcid /etc/pcid/initfs.toml
redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK
cd file:
export PATH file:/bin
inputd -G 3
run.d /etc/init.d