[pve-devel] [PATCH] add vlan aware ifupdown script v3

Dietmar Maurer dietmar at proxmox.com
Wed Jul 29 07:11:24 CEST 2015


> -      if [[ $port =~ ^(eth|bond|wlan)[0-9]{1,2}$ ]]
> +      if [[ $port =~ "^(eth|bond|wlan)[0-9]{1,2}$" ]]

OK, this does not work because dash does not have [[ ]] syntax,
and 'test' have no regex support.




More information about the pve-devel mailing list