3 # Script to ensure that any network device that udev renames
4 # still gets the hotplug script run with the proper name.
6 # Released under the GPL v2
8 # Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com>
11 # See if we really did rename this device.
12 if [ "$INTERFACE" = "$DEVNAME" ]; then
16 # ok, we have renamed this device, so let's set $INTERFACE to the new name
17 # and call the network hotplug script to handle it properly...
20 if [ -f /etc/hotplug.d/default/default.hotplug ]; then
21 exec /etc/hotplug.d/default/default.hotplug net