summaryrefslogtreecommitdiffstats
path: root/system/vtcol/README.Slackware
diff options
context:
space:
mode:
author Andrew Clemons2017-03-30 14:23:17 +0200
committer Willy Sudiarto Raharjo2017-04-01 01:57:07 +0200
commitd398cc64d0fb551f26a4145831d88b9b546fbbab (patch)
treed6b2038730fbfbc7fe02bf7938353e9321c5d309 /system/vtcol/README.Slackware
parent0107f5da0ef50f80dc0ddda113c031f4404a5e63 (diff)
downloadslackbuilds-d398cc64d0fb551f26a4145831d88b9b546fbbab.tar.gz
system/vtcol: Updated for version 0.42.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/vtcol/README.Slackware')
-rw-r--r--system/vtcol/README.Slackware11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/vtcol/README.Slackware b/system/vtcol/README.Slackware
index c563422de8..1932afa121 100644
--- a/system/vtcol/README.Slackware
+++ b/system/vtcol/README.Slackware
@@ -2,13 +2,16 @@ 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.
+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"
+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"
+mkinitrd -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> -u \
+ -o /boot/initrd-"$kernel".gz -s /tmp/initrd-tree-"$kernel"