[arch-releng] [PATCH] message on installation medium bootup

Ian Li il.348963380 at gmail.com
Tue Sep 11 01:25:46 UTC 2018


Today on the arch linux ama on r/linux, I talked with SvenStaro and Foxboron on making a message show up on boot for the arch boot media

I added a few lines to .zlogin (what I think is what gets launched upon login with zsh) that shows a message on how to install arch linux, so that new users aren't staring at the abyss of the terminal when they plug in the install media for the first time

I've never committed to a project before, nor am I very experienced, so I would check this with caution, as I think it should work, but I have not tested it. also apologies for the poor formatting, I have no idea what I am doing

also, I did have to resend this email, as I sent the thing through gmail the first time, so apologies about the duplicate email

Signed-off-by: Ian Li <il.348963380 at gmail.com>
---
 configs/releng/airootfs/root/.zlogin | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/configs/releng/airootfs/root/.zlogin b/configs/releng/airootfs/root/.zlogin
index f598e43..e9ad39e 100644
--- a/configs/releng/airootfs/root/.zlogin
+++ b/configs/releng/airootfs/root/.zlogin
@@ -1 +1,25 @@
 ~/.automated_script.sh
+echo -e " \e[0;36m        ,                       _ \e[0m     _ _
+ \e[0;36m       /#\\        __ _ _ __ ___| |__ \e[0m | (_)_ __  _   ___  __
+ \e[0;36m      /###\\      / _\` | '__/ __| '_ \\ \e[0m| | | '_ \\| | | \\ \\/ /
+ \e[0;36m     /#####\\    | (_| | | | (__| | | |\e[0m| | | | | | |_| |>  <
+ \e[0;36m    /##,-,##\\    \\__,_|_|  \\___|_| |_|\e[0m|_|_|_| |_|\\__,_/_/\\_\\
+ \e[0;36m   /##(   )##\\
+ \e[0;36m  /#.--   --.#\\   \e[0;97m\e[1mA simple, lightweight distribution.
+ \e[0;36m /\`           \`\\ \e[0m
+ \e[0;97m
+ 
+   Welcome to Arch Linux, A simple, lightweight distribution
+ 
+ 
+   for help on installation, please read the installation instructions at 
+ 
+ 	  https://wiki.archlinux.org/index.php/Installation_guide
+ 
+ 
+   for any further help or questions please refer to the wiki at
+ 
+       	   https://wiki.archlinux.org/
+\e[0m
+"
+
-- 
2.18.0


More information about the arch-releng mailing list