diff options
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/lib/preinit/10_indicate_preinit | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit index 56e96c63ba..deb5f2ae3a 100644 --- a/package/base-files/files/lib/preinit/10_indicate_preinit +++ b/package/base-files/files/lib/preinit/10_indicate_preinit @@ -97,6 +97,8 @@ preinit_config_board() { else # trim any vlan ids ifname=${ifname%\.*} + # trim any vlan modifiers like :t + ifname=${ifname%\:*} fi pi_ifname=$ifname |