diff --git a/build.sh b/build.sh index f2da6724..15eebaba 100755 --- a/build.sh +++ b/build.sh @@ -27,7 +27,7 @@ _get_repo() ( ) OMR_DIST=${OMR_DIST:-openmptcprouter} -OMR_HOST=${OMR_HOST:-https://55860.com/bak/down/develop/5.4)} +OMR_HOST=${OMR_HOST:-$(curl -sS ifconfig.co)} OMR_PORT=${OMR_PORT:-80} OMR_KEEPBIN=${OMR_KEEPBIN:-no} OMR_IMG=${OMR_IMG:-yes} @@ -467,6 +467,7 @@ cp .config .config.keep scripts/feeds clean scripts/feeds update -a scripts/feeds install -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 @@ -475,6 +476,7 @@ scripts/feeds install -a #fi #echo "Done" #cd "$OMR_TARGET/source" + if [ "$OMR_ALL_PACKAGES" = "yes" ]; then scripts/feeds install -a -d m -p packages scripts/feeds install -a -d m -p luci