diff options
Diffstat (limited to 'package/base-files/extra/etc/network/if-pre-up.d/02-vlan')
-rwxr-xr-x | package/base-files/extra/etc/network/if-pre-up.d/02-vlan | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/extra/etc/network/if-pre-up.d/02-vlan b/package/base-files/extra/etc/network/if-pre-up.d/02-vlan index 09b9cf0da..35b7fca59 100755 --- a/package/base-files/extra/etc/network/if-pre-up.d/02-vlan +++ b/package/base-files/extra/etc/network/if-pre-up.d/02-vlan @@ -1,6 +1,7 @@ #!/bin/sh [ -x /sbin/vconfig ] || exit 0 +[ -d /proc/net/vlan ] || exit 0 case "$IFACE" in vlan*) |