diff options
author | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-05-13 09:21:17 +0000 |
---|---|---|
committer | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-05-13 09:21:17 +0000 |
commit | 7bba74f697301b01f5a371b26fed96dfaaa6db35 (patch) | |
tree | 70054ef20814b0436aef49ea56a85bb1629f4b21 | |
parent | deee32043aa8799c4441e0022f94b66cf9851c69 (diff) | |
download | upstream-7bba74f697301b01f5a371b26fed96dfaaa6db35.tar.gz upstream-7bba74f697301b01f5a371b26fed96dfaaa6db35.tar.bz2 upstream-7bba74f697301b01f5a371b26fed96dfaaa6db35.zip |
adding check for /proc/net/vlan/config (==vlan enabled kernel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11132 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 2 |
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 |