forked from andonome/lk
clean up lk docs for site
This commit is contained in:
@@ -36,28 +36,28 @@ Move boot files to the first partition:
|
||||
> Unmount the two partitions:
|
||||
> umount boot root
|
||||
|
||||
echo belgradecats > /etc/hostname
|
||||
echo "# /etc/hosts: static lookup table for host names
|
||||
> echo [ hostname ] > /etc/hostname
|
||||
|
||||
Then edit the `/etc/hosts` file.
|
||||
|
||||
```
|
||||
|
||||
<ip-address> <hostname.domain.org> <hostname>
|
||||
127.0.0.1 belgradecats.localdomain belgradecats
|
||||
::1 belgradecats.localdomain belgradecats ip6-localhost
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
::1 localhost.localdomain localhost ip6-localhost
|
||||
|
||||
```
|
||||
|
||||
# End of file" > /etc/hosts
|
||||
|
||||
# Get audio on
|
||||
|
||||
echo dtparam=audio=on >> /boot/config.txt
|
||||
> echo dtparam=audio=on >> /boot/config.txt
|
||||
|
||||
pacman-key --init
|
||||
pacman-key --populate archlinuxarm
|
||||
Start pacman keyring.
|
||||
|
||||
pacman -Syyu base-devel git alsa-utils xf86-video-fbdev
|
||||
> pacman-key --init
|
||||
> pacman-key --populate archlinuxarm
|
||||
|
||||
timedatectl set-timezone Europe/Belgrade
|
||||
> pacman -Syyu base-devel git alsa-utils xf86-video-fbdev
|
||||
|
||||
> timedatectl set-timezone Europe/Belgrade
|
||||
|
||||
|
@@ -1,29 +1,29 @@
|
||||
---
|
||||
title: "autologin"
|
||||
tags: [ "Documentation", "distros" ]
|
||||
tags: [ "Documentation", "Distros", "Arch" ]
|
||||
---
|
||||
|
||||
# Automatic Login
|
||||
|
||||
Edit /etc/systemd/system/getty@tty1.service.d/override.conf by typing:
|
||||
Edit `/etc/systemd/system/getty@tty1.service.d/override.conf` by typing:
|
||||
|
||||
> sudo systemctl edit getty@tty1
|
||||
|
||||
The put in the following, changing $USER to your username.
|
||||
The put in the following, changing `[ USER ]` to your username.
|
||||
|
||||
```
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=-/usr/bin/agetty --autologin $USER -s %I 115200,38400,9600 vt102
|
||||
ExecStart=-/usr/bin/agetty --autologin [ USER ] -s %I 115200,38400,9600 vt102
|
||||
|
||||
```
|
||||
|
||||
# Automatically Start X
|
||||
|
||||
In `bashrc`.
|
||||
In `.bashrc`.
|
||||
|
||||
```
|
||||
|
||||
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
||||
exec startx
|
||||
fi
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "autologin"
|
||||
tags: [ "Documentation", "distros" ]
|
||||
title: "Void Autologin"
|
||||
tags: [ "Documentation", "Distros", "Void" ]
|
||||
---
|
||||
|
||||
Make the autologin service:
|
||||
|
Reference in New Issue
Block a user