aboutsummaryrefslogtreecommitdiff
path: root/system/vtcol/README.Slackware
diff options
context:
space:
mode:
Diffstat (limited to 'system/vtcol/README.Slackware')
-rw-r--r--system/vtcol/README.Slackware5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/vtcol/README.Slackware b/system/vtcol/README.Slackware
index 1932afa121e2..f81460035168 100644
--- a/system/vtcol/README.Slackware
+++ b/system/vtcol/README.Slackware
@@ -11,7 +11,8 @@ 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
+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"