Merge pull request #6 from nishad-prime/feature
Some checks failed
Test / build (push) Has been cancelled

alpha 0.1.4
This commit is contained in:
Nasir Hossain Nishad 2024-02-18 01:46:58 +06:00 committed by GitHub
commit 1d6ffa54e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 27 deletions

View File

@ -65,9 +65,9 @@ cp config/grub.cfg iso/boot/grub/grub.cfg
grub-mkrescue -o egos.iso iso grub-mkrescue -o egos.iso iso
# The image is ready to be used # The image is ready to be used
echo " ___ ___ ___ "; echo " ___ ___ ___ "
echo " | __|__ _ / _ \/ __|"; echo " | __|__ _ / _ \/ __|"
echo " | _|/ _\` | (_) \__ \\"; echo " | _|/ _\` | (_) \__ \\"
echo " |___\__, |\___/|___/"; echo " |___\__, |\___/|___/"
echo " |___/ "; echo " |___/ "
echo "Is Built Successfully!"; echo "Is Built Successfully!"

View File

@ -11,25 +11,22 @@ mount -t devtmpfs udev /dev
mount -t proc proc /proc mount -t proc proc /proc
mount -t sysfs sysfs /sys mount -t sysfs sysfs /sys
# Print the welcome message
echo "Welcome to the Linux Kernel"
echo ""
echo ""
echo " ___ ___ ___ ";
echo " | __|__ _ / _ \/ __|";
echo " | _|/ _\` | (_) \__ \\";
echo " |___\__, |\___/|___/";
echo " |___/ ";
echo "Is Built Successfully!";
echo ""
echo ""
echo "Kernel Version: $(uname -r)"
echo "Kernel Build Date: $(uname -v)"
echo "Kernel Architecture: $(uname -m)"
echo "Kernel Compiler: $(uname -o)"
echo "Kernel Hostname: $(uname -n)"
# Start shell with proper tty and power off support # Start shell with proper tty and power off support
exec cttyhack sh exec cttyhack sh -c '\
clear\
echo "Welcome to the Linux Kernel"\
echo ""\
echo ""\
echo " ___ ___ ___ "\
echo " | __|__ _ / _ \/ __|"\
echo " | _|/ _\` | (_) \__ \\"\
echo " |___\__, |\___/|___/"\
echo " |___/ "\
echo "Less is more easy. - EgOS"\
echo ""\
echo ""\
echo "Kernel Version: $(uname -r)"\
echo "Kernel Build Date: $(uname -v)"\
echo "Kernel Architecture: $(uname -m)"\
echo "Kernel Compiler: $(uname -o)"\
'