diff --git a/tinyipa/build_files/modprobe.conf b/tinyipa/build_files/modprobe.conf new file mode 100644 index 0000000..13ac34b --- /dev/null +++ b/tinyipa/build_files/modprobe.conf @@ -0,0 +1 @@ +ipv6 diff --git a/tinyipa/finalise-tinyipa.sh b/tinyipa/finalise-tinyipa.sh index d8f967d..cca377b 100755 --- a/tinyipa/finalise-tinyipa.sh +++ b/tinyipa/finalise-tinyipa.sh @@ -168,6 +168,9 @@ sudo sed -i "s/%UDEV_SETTLE_TIMEOUT%/$TINYIPA_UDEV_SETTLE_TIMEOUT/" "$FINALDIR/e sudo sed -i '/# Main/a NOZSWAP=1' "$FINALDIR/etc/init.d/tc-config" # sudo cp $WORKDIR/build_files/tc-config $FINALDIR/etc/init.d/tc-config +# Place ipv6 modprobe config so the kernel support loads. +sudo cp "$WORKDIR/build_files/modprobe.conf" "$FINALDIR/etc/modproble.conf" + if $PYOPTIMIZE_TINYIPA; then # Precompile all python if [[ $USE_PYTHON3 == "True" ]]; then