4
0

add support for poe hat fan

This commit is contained in:
Benjamin Böhmke 2020-01-29 18:38:49 +01:00
parent 895d54b046
commit 35af2c0517

View File

@ -11,7 +11,7 @@ set -e
: ${DEFAULT_HOSTNAME:="alpine"} : ${DEFAULT_HOSTNAME:="alpine"}
: ${DEFAULT_ROOT_PASSWORD:="alpine"} : ${DEFAULT_ROOT_PASSWORD:="alpine"}
: ${DEFAULT_DROPBEAR_ENABLED:="true"} : ${DEFAULT_DROPBEAR_ENABLED:="true"}
: ${DEFAULT_KERNEL_MODULES:="ipv6 af_packet"} : ${DEFAULT_KERNEL_MODULES:="ipv6 af_packet rpi-poe-fan"}
: ${UBOOT_COUNTER_RESET_ENABLED:="true"} : ${UBOOT_COUNTER_RESET_ENABLED:="true"}
: ${SIZE_BOOT:="100M"} : ${SIZE_BOOT:="100M"}
@ -147,6 +147,10 @@ mkdir -p ${ROOTFS_PATH}/var/lock
# time # time
chroot_exec rc-update add ntpd default chroot_exec rc-update add ntpd default
# kernel modules
chroot_exec rc-update add modules
echo "rpi-poe-fan" >> ${ROOTFS_PATH}/etc/modules
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# uboot tools # uboot tools