Because of changes in Red Hat's original initscipts package, some modifications have been deprecated.
ifup-post
- Calls ifup-routes up to three times, depending on which variables are available.
- Once for device interface, which in some cases can be a logical device interface.
- Once for the device name (NAME=).
- Once for the physical interface if this is different from the logical one.
- $DEVICETYPE is changed to reflect the real device's type (instead of the logical) before checking the need to set hostname (lo, ppp and slip are excluded from hostname detection).
ifup-routes
- Changed the usage text to reflect modified behaviour.
- Two parameters are now accepted. One which specifies which interface is being modified, and on which states which file prefix that should be used.
- ifup-post
- ifup-routes
- Changed the usage text to reflect modified behaviour.
- Bug fix. The script exits if "/etc/sysconfig/networking/devices/$1.route" doesn't exist. It does however also support "/etc/sysconfig/network-scripts/route-$1" (which is more advanced).
- A real device, sent as second parameter, replaces the logical device for calls to "route" and "ip". (Files are still named based on the logical device).