diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-10 17:24:52 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-09-16 17:28:20 +0200 |
commit | cb9bb908de1772d52bec73e6efffb0b803c8e41e (patch) | |
tree | 1bb57945c793c85939b1bdeabf1a5875b5da7b53 /package/base-files | |
parent | 300173950da07e43b56d819114c1d1271ea213cc (diff) | |
download | upstream-cb9bb908de1772d52bec73e6efffb0b803c8e41e.tar.gz upstream-cb9bb908de1772d52bec73e6efffb0b803c8e41e.tar.bz2 upstream-cb9bb908de1772d52bec73e6efffb0b803c8e41e.zip |
base-files: drop default setup for vconfig
vconfig has been disabled by default since 2015 [1] and there are
no remaining uses in entire OpenWrt trunk. However, we still set up
a specific name_type for it during boot.
While this setup is properly implemented to be only triggered when
vconfig is present, it still seems anachronistic and unnecessary
to set up a standard for a tool that is not used anymore.
Therefore, this removes the set_name_type initialization and leaves
it for those people actually using the tool to configure it as needed.
[1] 899a23227e55 ("busybox: improve applets & deprecate ifconfig, route")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 73455174db..db9be216e6 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk include $(INCLUDE_DIR)/feeds.mk PKG_NAME:=base-files -PKG_RELEASE:=229 +PKG_RELEASE:=230 PKG_FLAGS:=nonshared PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 958a67599e..b36323a97e 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -20,7 +20,6 @@ uci_apply_defaults() { boot() { [ -f /proc/mounts ] || /sbin/mount_root [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc - [ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD mkdir -p /var/run mkdir -p /var/log |