blob: f81460035168ba4ebadbb648aeecf22dbf539873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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 "/^sleep/a \
\\/sbin\\/vtcol --scheme '$VTCOL_SCHEME' || true" /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"
|