|
|
@@ -0,0 +1,27 @@
|
|
|
+# mikrotik-local-repo
|
|
|
+Get packages from mikrotik for local repo
|
|
|
+
|
|
|
++++ Configure arch & versions
|
|
|
+
|
|
|
+Change in script:
|
|
|
+
|
|
|
+#You local repo path
|
|
|
+TARGET_DIR="/mnt/mirror/routeros"
|
|
|
+
|
|
|
+#6 - stable release
|
|
|
+#6fix - LTS release
|
|
|
+versions6=("6" "6fix")
|
|
|
+
|
|
|
+#7 - stable
|
|
|
+#7fix - LTS (not available now)
|
|
|
+versions7=("7")
|
|
|
+
|
|
|
+#select needed arch
|
|
|
+firmware_arch=("arm" "arm64" "mipsbe" "mmips" "ppc" "smips" "tile" "x86")
|
|
|
+
|
|
|
++++ Share TARGET_DIR by you web-server
|
|
|
+
|
|
|
++++ Change at our mikrotik device dns names for download packages to you web-server
|
|
|
+
|
|
|
+/ip dns static add address=192.168.0.1 name=download.mikrotik.com
|
|
|
+/ip dns static add address=192.168.0.1 name=upgrade.mikrotik.com
|