2023-07-12 11:34:28 +02:00

31 lines
670 B
Bash
Executable File

#!/bin/sh
# This is the post install script for ROG ALLY devices!
# Expand the filesystem
resize-fs
# Set chassis
hostnamectl set-chassis handset
# Update appstream DB
[[ -e /usr/bin/appstreamcli ]] && /usr/bin/appstreamcli refresh-cache --force
# Set locales
localectl set-locale "en_US.UTF-8"
# Disable this service, so it only gets run on first boot
systemctl disable rogally-post-install.service
# Start sddm
[[ -e /usr/bin/sddm ]] && systemctl enable --now sddm
# Add ACPI Override (this might need a reboot to work)
/usr/bin/update_rogaao
# Pacman Init
pacman-key --init
pacman-key --populate archlinux manjaro
# Disable the root login
passwd --lock root