Adding support for the waveshare #43

Merged
PeterSurda merged 2 commits from lee.miller/openwrt:waveshare into main 2023-06-09 06:50:24 +02:00
Showing only changes of commit 92ab2ebe7a - Show all commits

14
defaults/51-waveshare Normal file
View File

@ -0,0 +1,14 @@
VERSION=1
[ "$(uci -q get defaults.version.waveshare)" -ge "$VERSION" ] && exit
# save version
/sbin/uci set defaults.version.waveshare="$VERSION"
sata_device=$(lspci -d ::106)
[ -z "$device" ] && exit
opkg update
opkg install kmod-ata-ahci smartmontools hdparm fdisk parted \
kmod-hwmon-drivetemp btrfs-progs kmod-fs-btrfs cryptsetup