System: Host: obi-notebook Kernel: 5.13.19-200.fc34.x86_64 x86_64 bits: 64 Desktop: GNOME 40.4
Distro: Fedora release 34 (Thirty Four)
Machine: Type: Laptop System: LENOVO product: 21A00004GE v: ThinkPad P14s Gen 2a
Mobo: LENOVO model: 21A00004GE UEFI: LENOVO v: R1MET39W (1.09 ) date: 06/21/2021
Battery: ID-1: BAT0 charge: 42.6 Wh (79.5%) condition: 53.6/50.5 Wh (106.3%)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DLPATH=ftp://vserver.obihoernchen.net/ODROID-XU4-KERNEL/LATEST-4.9 | |
if [[ "$1" =~ ^(ftp|https?):// ]]; then | |
DLPATH="$1" | |
fi | |
rm -r /boot/* | |
# for safety | |
rm -r /tmp/kernel-update |