1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2025-02-20 18:01:33 -05:00

Re-order Kernel Choice

I use -hardened pretty much everywhere, except SMB/Fileservers, which use -lts, so I re-order these.

Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
This commit is contained in:
funk-on-code 2022-09-27 07:56:25 +00:00 committed by GitHub
parent 0743890ae2
commit 4a3468356f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,20 +31,20 @@ pacman -S --noconfirm curl
# Selecting the kernel flavor to install.
kernel_selector () {
echo "List of kernels:"
echo "1) Stable — Vanilla Linux kernel and modules, with a few patches applied."
echo "2) Hardened — A security-focused Linux kernel."
echo "3) Longterm — Long-term support (LTS) Linux kernel and modules."
echo "4) Zen Kernel — Optimized for desktop usage."
echo "1) Hardened — A security-focused Linux kernel."
echo "2) Longterm — Long-term support (LTS) Linux kernel and modules."
echo "3) Zen Kernel — Optimized for desktop usage."
echo "4) Stable — Vanilla Linux kernel and modules, with a few patches applied."
read -r -p "Insert the number of the corresponding kernel: " choice
echo "$choice will be installed"
case $choice in
1 ) kernel=linux
1 ) kernel=linux-hardened
;;
2 ) kernel=linux-hardened
2 ) kernel=linux-lts
;;
3 ) kernel=linux-lts
3 ) kernel=linux-zen
;;
4 ) kernel=linux-zen
4 ) kernel=linux
;;
* ) echo "You did not enter a valid selection."
kernel_selector