first commit

This commit is contained in:
Your Name 2024-07-01 13:23:00 +03:00
commit 21be7fd279
156 changed files with 6939 additions and 0 deletions

9
configs/fstab Normal file
View file

@ -0,0 +1,9 @@
#Example
#[SRC] [DST] [FS TYPE] [OPTIONS. Default: default] [Unused] [Unused]
#/dev/sda1 /boot ext4 rw 0 0
#/dev/disk/by-uuid/disk-uuid-12dfg /usr f2fs 0 0
proc /proc proc nosuid,noexec,nodev 0 0
sysfs /sys sysfs nosuid,noexec,nodev 0 0
devtmpfs /dev devtmpfs gid=5,mode=0620 0 0
tmpfs /tmp tmpfs nosuid,noexec,nodev,mode=0777 0 0

2
configs/group Normal file
View file

@ -0,0 +1,2 @@
root::0:root

1
configs/hostname Normal file
View file

@ -0,0 +1 @@
localhost

1
configs/motd Normal file
View file

@ -0,0 +1 @@
Welcome!

4
configs/os-release Normal file
View file

@ -0,0 +1,4 @@
NAME="Plain Os"
ID=plainos
VERSION_ID=0.1
PRETTY_NAME="PlainOs/Linux 0.1 "

2
configs/passwd Normal file
View file

@ -0,0 +1,2 @@
root::0:0:root:/usr/root:/bin/sh
nobody:*:65534:65534:nobody:/nonexistent:/bin/false

9
configs/rc.init Normal file
View file

@ -0,0 +1,9 @@
#!/bin/sh
echo "[*] Mounting..."
mount -a
echo "[*] Hostname..."
hostname -c /etc/hostname
cat /etc/motd
env TERM="linux" login

12
configs/rc.poweroff Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
echo "[*] Umounting..."
umount -a
echo "[*] Syncing..."
sync
echo "[*] Closing processes..."
kill -a -s TERM
sleep 5
echo "[*] Poweroff..."

1
configs/resolv.conf Normal file
View file

@ -0,0 +1 @@
nameserver 192.168.0.1