base: Start a welcome message instead of a terminal on login
All checks were successful
Build and test / build (push) Successful in 1m44s

This commit is contained in:
apio 2024-09-14 15:31:42 +02:00
parent 12ab71ee40
commit ffd1c73b0f
Signed by: apio
GPG Key ID: B8A7D06E42258954
3 changed files with 21 additions and 9 deletions

View File

@ -1,14 +1,26 @@
Welcome to the Luna operating system! Welcome to the Luna operating system!
You are running on the default user account, selene. You are running on the default user account, selene.
If you are familiar with Unix-style operating systems (like Linux or *BSD), you should be able to use the Luna terminal without much problems. If you are familiar with Unix-style operating systems (like Linux or *BSD),
you should be able to use the Luna terminal without much problems.
Following the traditional Unix filesystem structure, programs are installed in /usr/bin (/bin is a symlink to /usr/bin). The command `ls /bin` will show all commands available on your current Luna installation. Following the traditional Unix filesystem structure,
programs are installed in /usr/bin (/bin is a symlink to /usr/bin).
The command `ls /bin` will show all commands available on
your current Luna installation.
Currently, because of driver limitations, the root file system is mounted read-only. Your home folder is writable, but volatile; it is created and populated on boot, and its contents will vanish after a reboot. Currently, because of driver limitations,
the root file system is mounted read-only.
Your home folder is writable, but volatile; it is
created and populated on boot,
and its contents will vanish after a reboot.
The system is booted using the 'init' program. You can read its configuration files in the /etc/init directory to learn more about the boot process. The system is booted using the 'init' program.
You can read its configuration files in the /etc/init directory to
learn more about the boot process.
Luna is free software, released under the BSD-2-Clause license. The license is included in the LICENSE file in your home directory. Luna is free software, released under the BSD-2-Clause license.
The license is included in the LICENSE file in your home directory.
View the source code and read more about Luna at https://git.cloudapio.eu/apio/Luna. View the source code and read more about Luna at
https://git.cloudapio.eu/apio/Luna.

View File

@ -1,3 +0,0 @@
Name=terminal
Description=Start the terminal.
Command=/usr/bin/terminal

3
base/etc/user/00-welcome Normal file
View File

@ -0,0 +1,3 @@
Name=welcome
Description=Show a welcome message for the user.
Command=/usr/bin/editor welcome