diff --git a/src/modules/armbian/start_chroot_script b/src/modules/armbian/start_chroot_script index 5ce9874b4..8a8235846 100644 --- a/src/modules/armbian/start_chroot_script +++ b/src/modules/armbian/start_chroot_script @@ -21,7 +21,7 @@ install_cleanup_trap is_board_type() { local board releasefile board="" - releasefile="/etc/armbian-release-info.txt" + releasefile="/etc/armbian-release" if [[ -f "${releasefile}" ]]; then board="$(grep "BOARD=" "${releasefile}" | cut -d'=' -f2)" fi diff --git a/src/modules/orangepi/start_chroot_script b/src/modules/orangepi/start_chroot_script index 32e18bf50..7e5d05544 100644 --- a/src/modules/orangepi/start_chroot_script +++ b/src/modules/orangepi/start_chroot_script @@ -28,7 +28,7 @@ install_cleanup_trap is_board_type() { local board releasefile board="" - releasefile="/etc/orangepi-release-info.txt" + releasefile="/etc/orangepi-release" if [[ -f "${releasefile}" ]]; then board="$(grep "BOARD=" "${releasefile}" | cut -d'=' -f2)" fi