From 6d4c89c7f56a5d923780a3bfdfdc6a9fe434cbde Mon Sep 17 00:00:00 2001 From: Ralph Hempel Date: Tue, 13 May 2008 09:21:17 +0000 Subject: [PATCH] adding check for /proc/net/vlan/config (==vlan enabled kernel) SVN-Revision: 11132 --- package/base-files/files/etc/init.d/boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 5f5ca99b96..df2afd6b8e 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -27,7 +27,7 @@ apply_uci_config() {( start() { [ -f /proc/mounts ] || /sbin/mount_root [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc - vconfig set_name_type DEV_PLUS_VID_NO_PAD + [ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD apply_uci_config config_load system -- 2.30.2