Update fix_vlan_fwdop.sh

This commit is contained in:
Anime4000 2023-09-28 18:14:22 +08:00 committed by GitHub
parent 04715358b6
commit f76bbf3e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ process_pair() {
# Get the FwdOp fix from unused flash property: RTK_DEVINFO_SPECVER
fix_vlan_fwdop=$(flash get RTK_DEVINFO_SPECVER | cut -d'=' -f2)
# If fix_vlan_id is not set, exit
# If fix_vlan_fwdop is not set, exit
if [ -z "$fix_vlan_fwdop" ]; then
exit 1
fi
@ -62,3 +62,4 @@ for pair in "${pairs[@]}"; do
process_pair "$pair"
done
exit 0