From 4a92157b9e077514fdbf5845169323ed7370bedb Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 21 Oct 2010 16:57:16 -0700 Subject: Change vyatta_net_name into a perl script Use existing config parser and perl to handle udev device naming. Do renaming early in udev boot, and fixup config file later. This avoids rescanning udev devices on boot and adds preliminary support for hotplug. --- Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4a050270..0c93d965 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,7 @@ sbin_SCRIPTS += scripts/vyatta-grub-setup sbin_SCRIPTS += scripts/standalone_root_pw_reset sbin_SCRIPTS += scripts/vyatta-passwd-sync sbin_SCRIPTS += scripts/system/vyatta_check_username.pl +sbin_SCRIPTS += scripts/system/vyatta_interface_rescan sbin_SCRIPTS += scripts/system/vyatta_update_login.pl sbin_SCRIPTS += scripts/system/vyatta_update_logrotate.pl sbin_SCRIPTS += scripts/system/vyatta_update_resolv.pl @@ -36,8 +37,6 @@ sbin_SCRIPTS += scripts/snmp/snmpd.init sbin_SCRIPTS += scripts/keepalived/vyatta-keepalived.pl sbin_SCRIPTS += scripts/keepalived/vyatta-vrrp-state.pl sbin_SCRIPTS += scripts/telnetd.init -sbin_SCRIPTS += scripts/add_bootfile_eth_hwid -sbin_SCRIPTS += scripts/mod_bootfile_eth_hwid sbin_SCRIPTS += scripts/dns-forwarding/vyatta-dns-forwarding.pl sbin_SCRIPTS += scripts/dynamic-dns/vyatta-dynamic-dns.pl sbin_SCRIPTS += scripts/vyatta-system-nameservers @@ -88,7 +87,7 @@ sysconf_DATA += sysconf/capability.conf libudevdir = /lib/udev udevrulesdir = /lib/udev/rules.d libudev_SCRIPTS = scripts/vyatta_net_name -udevrules_DATA = sysconf/69-vyatta-net.rules +udevrules_DATA = sysconf/65-vyatta-net.rules rsyslogdir = /etc/rsyslog.d rsyslog_DATA = sysconf/vyatta-log.conf -- cgit v1.2.3