#!/bin/bash #cleanup old stuff removepkg hotplug 2>/dev/null rm /etc/udev/rules.d/udev.rules 2>/dev/null #NOT, these are needed if user wants to boot old kernel again!: #rm /dev/syn3-* 2>/dev/null #we DONT want persistent network rules. #syn3 does this in a different way, for redundacy reasons and the fact that new hardware should start with eth0 again when a syn3 installation is moved. rm /etc/udev/rules.d/70-persistent-net.rules 2>/dev/null rm /lib/udev/rules.d/75-persistent-net-generator.rules 2>/dev/null #needed by some rules groupadd dialout &>/dev/null exit 0