#!/sbin/runscript description="Renames ethX to ethXtmp to avoid udev rename conflicts" depend() { before dev } start() { for i in 0 1 2 3 4 5; do einfo "Renaming eth${i} to eth${i}tmp" ip link set dev eth${i} name eth${i}tmp done }