Parcourir la source

adding check for /proc/net/vlan/config (==vlan enabled kernel)

SVN-Revision: 11132
Ralph Hempel il y a 17 ans
Parent
commit
6d4c89c7f5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package/base-files/files/etc/init.d/boot

+ 1 - 1
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