summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in1
-rw-r--r--sysconf/netdevice12
3 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9c562aae..0bae978d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,6 +102,7 @@ sysconf_DATA += sysconf/filecaps
sysconf_DATA += sysconf/capability.conf
sysconf_DATA += sysconf/cpufrequtils
sysconf_DATA += sysconf/sudoers
+sysconf_DATA += sysconf/netdevice
libudevdir = /lib/udev
udevrulesdir = /lib/udev/rules.d
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 3f75d6d7..cf9eecdb 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -130,6 +130,7 @@ mkdir -p /opt/vyatta/etc/config/support
chown -R root:vyattacfg /opt/vyatta/etc/config
chmod -R 775 /opt/vyatta/etc/config
mkdir -p /opt/vyatta/etc/logrotate
+mkdir -p /opt/vyatta/etc/netdevice.d
# create /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script
# this should be after 'mkdir -p /opt/vyatta/etc/config/scripts' above
diff --git a/sysconf/netdevice b/sysconf/netdevice
new file mode 100644
index 00000000..f9fc425e
--- /dev/null
+++ b/sysconf/netdevice
@@ -0,0 +1,12 @@
+# device name to CLI path matching
+lo loopback
+eth ethernet
+ifb input
+peth pseudo-ethernet
+br bridge
+bond bonding
+vtun openvpn
+tun tunnel
+vti vti
+wlm wireless-modem
+wlan wireless