mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
d398cc64d0
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
17 lines
673 B
Text
17 lines
673 B
Text
vtcol can be used in /etc/rc.d/rc.local to set the colour scheme at boot:
|
|
|
|
vtcol --scheme solarized_light
|
|
|
|
It is also possible to add it to your initrd to have the colour scheme set
|
|
early in the boot process.
|
|
|
|
Example:
|
|
|
|
kernel=4.4.38
|
|
mkinitrd -c -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> \
|
|
-m ext4:<more modules> -u -o /boot/initrd-"$kernel".gz \
|
|
-s /tmp/initrd-tree-"$kernel"
|
|
install -m 755 /usr/bin/vtcol "/tmp/initrd-tree-$kernel/bin/vtcol"
|
|
sed -i '159i \/bin\/vtcol --scheme solarized_light' /tmp/initrd-tree-"$kernel"/init
|
|
mkinitrd -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> -u \
|
|
-o /boot/initrd-"$kernel".gz -s /tmp/initrd-tree-"$kernel"
|