Cool, thanks for the info.
I've attached two files, one for each version.
How to use this:
The interfaces should be configured as usual, in rc.inet1.conf; for configuring a VLAN 50 (ex
under eth0, you would add the following in rc.inet1.conf:
IFNAME[0]="eth0.50"
with the rest being the same as before.
The 8021q module should also be loaded before rc.inet1 gets executed.
I've dug around for the correct place to add this but ended up executing /etc/rc.d/rc.modules.local from within /etc/rc.d/rc.modules.
Maybe there are other, better ways of doing this.