# ensure that all groups used in 50-default.rules exist create_group disk create_group cdrom create_group floppy create_group burning create_group video create_group audio create_group uucp create_group dialout create_group firewire create_group tape # dispel hotplug if [[ $UDEV_DISPEL_HOTPLUG == y ]]; then # we don't care if these fail dispel hotplug persistent_remove UDEV_DISPEL_HOTPLUG fi && # warn of coming changes message "\n${PROBLEM_COLOR}About persistent net interfaces naming:" \ "$DEFAULT_COLOR$MESSAGE_COLOR" \ "\nThe spell now uses udev rules generator. Next time you" \ "boot, udev will\ngenerate a rules file called" \ "/etc/udev/rules.d/70-persistent-net.rules\nfor all the" \ "interfaces it has detected. Then you can modify the name" \ "of\nthe interface by changing the NAME key. Udev will" \ "not erase it.\nThe old configuration stuff with the" \ "DEVICE_MAC field in netconf is now\nobsolete.$DEFAULT_COLOR" .