update: dynamic version holder for /etc/issue
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
MMMMMMMMMMMMMMMMMMMM
|
||||
MMMM MMMM MMMM
|
||||
MMMM MMMM MMMM
|
||||
MMMM MMMM MMMM Welcome to \e[32mMatterLinux 24\e[0m\e[1m!
|
||||
MMMM MMMM MMMM Welcome to \e[32mMatterLinux VERSION_HERE\e[0m\e[1m!
|
||||
MMMM MMMM MMMM \e[37mKernel:\e[0m\e[1m \r \e[37mArch:\e[0m\e[1m \m \e[37mTTY:\e[0m\e[1m \l
|
||||
MMMM MMMM MMMM
|
||||
MMMM MMMM MMMM
|
||||
|
||||
\e[34m>>>\e[0m\e[1m Sync before installing packages: mp-sync
|
||||
\e[34m>>>\e[0m\e[1m Sync before installing packages: matt sync
|
||||
\e[34m>>>\e[0m\e[1m For installation: https://matterlinux.xyz/wiki/install
|
||||
\e[34m>>>\e[0m\e[1m Join XMPP for questions: general@conf.matterlinux.xyz
|
||||
\e[34m>>>\e[0m\e[1m For questions/chat: https://matterlinux.xyz/wiki/chat
|
||||
|
||||
Happy hacking!\e[0m
|
||||
|
3
iso.sh
3
iso.sh
@ -13,5 +13,6 @@ BUILD() {
|
||||
echo "root:root" | chpasswd
|
||||
systemctl preset-all
|
||||
cp /usr/sbin/init .
|
||||
sed -i "s/VERSION_HERE/$VERSION/g" /boot/grub/grub.cfg
|
||||
sed -i "s/VERSION_HERE/${VERSION}/g" /etc/issue
|
||||
sed -i "s/VERSION_HERE/${VERSION}/g" /boot/grub/grub.cfg
|
||||
}
|
||||
|
Reference in New Issue
Block a user