From 5e4ef1d482ee88536aecf10017b24505b0e95f91 Mon Sep 17 00:00:00 2001 From: nasirhm Date: Nov 03 2020 19:19:51 +0000 Subject: Text Message to be echoed in bashrc Added an echo statement in .bashrc for Liveuser to make it easier and accessible for people using the SIG to open the installer. It'll be executed everytime, the user creates an interactive terminal session with bash (default) on Terminal Currently, The message displays: Please type liveinst and press Enter to start the installer. --- diff --git a/fedora-live-i3.ks b/fedora-live-i3.ks index b712da2..ca2aa3a 100644 --- a/fedora-live-i3.ks +++ b/fedora-live-i3.ks @@ -47,13 +47,16 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # and mark it as executable (new Xfce security feature) chmod +x /home/liveuser/Desktop/liveinst.desktop -# this goes at the end after all other changes. +# this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser # setting the wallpaper echo "/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png" >> /home/liveuser/.profile +# echoing type liveinst to start the installer +echo "echo 'Please type liveinst and press Enter to start the installer'" >> /home/liveuser/.bashrc + EOF %end diff --git a/flat-i3.ks b/flat-i3.ks index 495a965..7757794 100644 --- a/flat-i3.ks +++ b/flat-i3.ks @@ -364,13 +364,16 @@ rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop # and mark it as executable (new Xfce security feature) chmod +x /home/liveuser/Desktop/liveinst.desktop -# this goes at the end after all other changes. +# this goes at the end after all other changes. chown -R liveuser:liveuser /home/liveuser restorecon -R /home/liveuser # setting the wallpaper echo "/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png" >> /home/liveuser/.profile +# echoing type liveinst to start the installer +echo "echo 'Please type liveinst and press Enter to start the installer'" >> /home/liveuser/.bashrc + EOF %end