clean: bio

This commit is contained in:
Kuoi 2023-05-04 18:11:37 +08:00
parent 00cf428232
commit 1818c41879
12 changed files with 32 additions and 104 deletions

View file

@ -1 +1 @@
bioarchiso
bioarchlinux

View file

@ -1,12 +1,32 @@
To install BioArchLinux follow the installation guide:
https://wiki.archlinux.org/title/Installation_guide
Replace thw word base with the word base-bio
To install BioArchLinux follow the installation guide:
https://github.com/BioArchLinux/iso
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
For mobile broadband (WWAN) modems, connect with the mmcli utility.
Ethernet, WLAN and WWAN interfaces using DHCP should work automatically.
Official website: https://bioarchlinux.org
After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.
Report ISO issues: https://github.com/BioArchLinux/iso/issues
Chat on matrix: https://matrix.to/#/#bioarchlinux:matrix.org
Usage Wiki page: https://wiki.bioarchlinux.org/index.php?title=Special:AllPages
                                          
.
lN.
;MMX
'WMMMK
.WMMMMM0
dMMMMMMM0
.NOoONMMMMM0
.WMMMMWMMMMMMK
,WMMMMMMMMMMMMMX.
;MMMMMMMMMMMMMMMMN.
lMMMMMMMOc:oXMMMMMMW.
dMMMMMMW, xMMMMMMW,
kMMMMMMMo XMMMMWMM:
0MMMMMMMM, ,.. xMMMMMKko.
.XMMMMMMWKk' ox' lOXMMMMMM0:
'WMMNkl'. .x:d .;d0WMMO
:Xx:. cx' 'l0K.
. .
Welcome to BioArchLinux !
                                          

View file

@ -1 +1,2 @@
root:x:0:0:root:/root:/usr/bin/zsh
bio:x:1000:1000::/home/bio:/usr/bin/zsh

View file

@ -1 +1,2 @@
root::14871::::::
bio:$6$iG5kiVqPH5TjAPlP$Awy56r0ru1Df4uxS/UtuH6Ugg9yxy1.pMDSTT2pePuVOCFzwZ/a3Qc48RbHmetR2kC.q9qNlaInSTPgu.YPhb.:14871::::::

View file

@ -1,10 +0,0 @@
[Unit]
Description=Choose mirror from the kernel command line
ConditionKernelCommandLine=mirror
[Service]
Type=oneshot
ExecStart=/usr/local/bin/choose-mirror
[Install]
WantedBy=multi-user.target

View file

@ -1 +0,0 @@
../choose-mirror.service

View file

@ -1 +0,0 @@
/usr/lib/systemd/system/reflector.service

View file

@ -1,6 +0,0 @@
[Unit]
ConditionKernelCommandLine=!mirror
[Service]
Restart=on-failure
RestartSec=10

View file

@ -1,8 +0,0 @@
# Reflector configuration file for the systemd service.
--save /etc/pacman.d/mirrorlist
--ipv4
--ipv6
--protocol https
--latest 20
--sort rate

View file

@ -1,34 +0,0 @@
#!/usr/bin/env bash
script_cmdline ()
{
local param
for param in $(< /proc/cmdline); do
case "${param}" in
script=*) echo "${param#*=}" ; return 0 ;;
esac
done
}
automated_script ()
{
local script rt
script="$(script_cmdline)"
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
curl "${script}" --location --retry-connrefused --retry 10 -s -o /tmp/startup_script >/dev/null
rt=$?
else
cp "${script}" /tmp/startup_script
rt=$?
fi
if [[ ${rt} -eq 0 ]]; then
chmod +x /tmp/startup_script
/tmp/startup_script
fi
fi
}
if [[ $(tty) == "/dev/tty1" ]]; then
automated_script
fi

View file

@ -1,6 +0,0 @@
# fix for screen readers
if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
setopt SINGLE_LINE_ZLE
fi
~/.automated_script.sh

View file

@ -1,28 +0,0 @@
#!/bin/bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
get_cmdline() {
local param
for param in $(< /proc/cmdline); do
case "${param}" in
$1=*) echo "${param##*=}";
return 0
;;
esac
done
}
mirror=$(get_cmdline mirror)
[[ $mirror = auto ]] && mirror=$(get_cmdline archiso_http_srv)
[[ $mirror ]] || exit 0
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
cat >/etc/pacman.d/mirrorlist << EOF
#
# Arch Linux repository mirrorlist
# Generated by archiso
#
Server = ${mirror%%/}/\$repo/os/\$arch
EOF