• Bug#267010: Support hotplug with /etc/hotplug.d/net/00ifrename.hotplug

    From Karl Hegbloom@1:229/2 to All on Fri Aug 20 10:30:13 2004
    From: [email protected]

    Package: ifrename
    Version: 26+27pre22-1
    Severity: normal

    Taken from the /etc/hotplug/net.agent script... This really belongs in /etc/hotplug/net/00ifrename.hotplug not in net.agent. When/if you do
    this, please contact the maintainer of hotplug, as well as waproamd and
    ifplugd and tell them what you did. I filed a bug on waproamd that
    really belongs here instead.

    #!/bin/sh

    . /etc/hotplug/hotplug.functions

    if [ -x /sbin/ifrename ] && [ -r /etc/iftab ]; then
    debug_mesg invoke ifrename for $INTERFACE
    NEWNAME=`/sbin/ifrename -i $INTERFACE`
    if [ -n "$NEWNAME" ]; then
    debug_mesg iface $INTERFACE is remapped to $NEWNAME
    INTERFACE=$NEWNAME
    fi;
    fi


    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (600, 'testing'), (500, 'unstable'), (400, 'experimental') Architecture: i386 (i686)
    Kernel: Linux 2.6.7-lucgm-1
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

    Versions of packages ifrename depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libiw27 26+27pre22-1 Wireless tools - library

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)