-# might be needed if /etc/hosts is used
-#mkdir -p "${DESTDIR}/etc"
-#cp -p /etc/nsswitch.conf "${DESTDIR}/etc"
+if [ ! -e "${DESTDIR}/etc/nsswitch.conf" ]
+then
+ # Needed to make "hostname -f" honor the domainname provided by DHCP
+ echo "hosts: files dns" > "${DESTDIR}/etc/nsswitch.conf"
+fi
+
+# vlan support
+if [ -x /sbin/vconfig ]
+then
+ copy_exec /sbin/vconfig
+ manual_add_modules 8021q
+fi
+
+if [ -x /sbin/ethtool ]
+then
+ copy_exec /sbin/ethtool
+fi