1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Add Full Cone NAT support

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-04-02 14:14:51 +02:00
parent e3c42cf474
commit b46478b0ba
3 changed files with 63 additions and 0 deletions

View file

@ -228,6 +228,16 @@ echo "Update feeds index"
cp .config .config.keep
scripts/feeds clean
scripts/feeds update -a
cd -
echo "Checking if fullconenat-luci patch is set or not"
if ! patch -Rf -N -p1 -s --dry-run < patches/fullconenat-luci.patch; then
echo "apply..."
patch -N -p1 -s < patches/fullconenat-luci.patch
fi
echo "Done"
cd "$OMR_TARGET/source"
if [ "$OMR_ALL_PACKAGES" = "yes" ]; then
scripts/feeds install -a -p packages
scripts/feeds install -a -p luci