for i in `find -type f -name interfaces`; do
    echo $i;
    sed -e 's#auto eth1#    pre-up /sbin/ip link set down dev eth0\nauto eth1#' -i $i
    sed -e 's#auto eth1#    pre-up /sbin/ip link set name peth0 dev eth0\n\nauto eth1#' -i $i
    mcedit $i
done


