mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
adding check for /proc/net/vlan/config (==vlan enabled kernel)
SVN-Revision: 11132
This commit is contained in:
parent
ce0e9bec2f
commit
6d4c89c7f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user