mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 12:45:13 +08:00
🍉 Sync 2026-09-25 18:00:12
This commit is contained in:
1 parent
7c17dda4d0
commit
2ee65a261e
135 files changed
+5726
-7799
No files matched your search
@@ -159,10 +159,12 @@ level=$1
|
||||
echo "Try Level $level"
|
||||
|
||||
# Apk system means that openwrt is newer enough, so we don't need to check the odhcpd version on apk system
|
||||
odhcpd_version=$(grep -o 'Version: [0-9]*' /usr/lib/opkg/info/odhcpd-ipv6only.control | cut -d' ' -f2)
|
||||
if [ -n "$odhcpd_version" -a "$odhcpd_version" -lt 2025 ]; then
|
||||
echo "odhcpd version $odhcpd_version detected, enabling NDP bug workaround"
|
||||
ODHCPD_NDP_BUG=true
|
||||
if [ -s /usr/lib/opkg/info/odhcpd-ipv6only.control ]; then
|
||||
odhcpd_version=$(grep -o 'Version: [0-9]*' /usr/lib/opkg/info/odhcpd-ipv6only.control | cut -d' ' -f2)
|
||||
if [ -n "$odhcpd_version" ] && [ "$odhcpd_version" -lt 2025 ]; then
|
||||
echo "odhcpd version $odhcpd_version detected, enabling NDP bug workaround"
|
||||
ODHCPD_NDP_BUG=true
|
||||
fi
|
||||
fi
|
||||
|
||||
# nat
|
||||
|
||||
Reference in new issue
Block a user