aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2008-05-13 09:21:17 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2008-05-13 09:21:17 +0000
commit6d4c89c7f56a5d923780a3bfdfdc6a9fe434cbde (patch)
treeeeb7885fa26a5e30f17aeec0be3bccd7ea8a89f0 /package/base-files
parentce0e9bec2f20a24d800594d4831804e9e46985ba (diff)
downloadupstream-6d4c89c7f56a5d923780a3bfdfdc6a9fe434cbde.tar.gz
upstream-6d4c89c7f56a5d923780a3bfdfdc6a9fe434cbde.tar.bz2
upstream-6d4c89c7f56a5d923780a3bfdfdc6a9fe434cbde.zip
adding check for /proc/net/vlan/config (==vlan enabled kernel)
SVN-Revision: 11132
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
1 files changed, 1 insertions, 1 deletions
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