diff options
author | Christian Hesse <mail@eworm.de> | 2022-04-27 10:04:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-04-27 10:04:50 +0200 |
commit | e6e5b279359d37d12aa0f4700535ddb4604b2670 (patch) | |
tree | beb7e5f9bfbe7bfcef5c18de25a7c7763221ffc8 | |
parent | ff8c3566c6cec036b4205a00f4ad5eaf172a6135 (diff) | |
download | mkinitcpio-uname-e6e5b279359d37d12aa0f4700535ddb4604b2670.tar.gz mkinitcpio-uname-e6e5b279359d37d12aa0f4700535ddb4604b2670.tar.zst |
add highlighting
-rw-r--r-- | hook/uname | 4 | ||||
-rw-r--r-- | systemd/uname | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -2,9 +2,9 @@ run_latehook() { if [ -s /new_root/version ]; then - echo " Booting $(cat /new_root/version) with $(uname -srm)." + echo " Booting [1;37m$(cat /new_root/version)[0m with [1;37m$(uname -srm)[0m." else - echo " Booting $(uname -srm)." + echo " Booting [1;37m$(uname -srm)[0m." fi echo } diff --git a/systemd/uname b/systemd/uname index 7143927..293bdfb 100644 --- a/systemd/uname +++ b/systemd/uname @@ -1,4 +1,4 @@ #!/bin/sh -echo " Booting $(uname -srm)." +echo " Booting [1;37m$(uname -srm)[0m." echo |