0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-31 10:58:15 +00:00

disable ipv6 via cmdline

solves an issue with timeout of samba, when ipv4 is not yet obtained
This commit is contained in:
Tomáš Kelemen (vudiq)
2025-02-08 17:21:10 +01:00
parent 3a8a17ddd1
commit efe441b181

@ -326,6 +326,10 @@ if [ "${1}" = "release" -o "${1}" = "mkimage" -o "${1}" = "noobs" ]; then
# Remove any previously created release images
rm -rf ${TARGET_IMG}/${IMAGE_NAME}.img.gz
# Disable IPv6 in Lakka, as samba is bound only to IPv6 address
# connman notifies ready before IPv4 address is obtained
[ "${DISTRO}" = "Lakka" ] && EXTRA_CMDLINE+=" ipv6.disable=1" || true
if [ -n "${BOOTLOADER}" ]; then
BOOTLOADER_DIR="$(get_pkg_directory "${BOOTLOADER}")"