Package: netbase Version: 4.20 Severity: wishlist File: /etc/init.d/networking Tags: patch
It would be useful to add support for ifrename to /etc/init.d/networking, as described in /usr/share/doc/ifrename/HOTPLUG.txt.gz: --- networking-orig Wed Feb 18 13:56:23 2004 +++ networking Fri Feb 20 14:51:06 2004 @@ -120,6 +120,15 @@ case "$1" in doopt syncookies no doopt ip_forward no + # Optionally remap interface names based on MAC address. + # '/sbin/ifrename' is part of wireless-tools package. + # /etc/iftab is currently not created by default. Jean II + if [ -x /sbin/ifrename ] && [ -r /etc/iftab ]; then + echo -n "Remapping network interfaces name: " + ifrename -p + echo "done." + fi + echo -n "Configuring network interfaces..." ifup -a echo "done." (I had to change : to ... in the patch, and it applies with fuzz 1 and an offset of -54 lines) -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-k7 Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages netbase depends on: ii debconf 1.4.30.11 Debian configuration management sy ii ifupdown 0.6.4-4.10 High level tools to configure netw ii iputils-ping [ping] 3:20020927-2 Tools to test the reachability of ii netkit-inetd 0.10-10 The Internet Superserver ii tcpd 7.6.dbs-6 Wietse Venema's TCP wrapper utilit -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]