#!/bin/bash

TARGET=$1

rm -rf $TARGET/lib/udev/v4l_id
rm -f $TARGET/lib/udev/rules.d/75-net-description.rules
rm -f $TARGET/lib/udev/rules.d/60-persistent-input.rules
rm -f $TARGET/lib/udev/rules.d/70-mouse.rules
rm -f $TARGET/lib/udev/rules.d/70-joystick.rules
rm -f $TARGET/lib/udev/rules.d/64-btrfs.rules
rm -f $TARGET/lib/udev/rules.d/60-persistent-storage-tape.rules
rm -f $TARGET/lib/udev/rules.d/60-serial.rules
rm -f $TARGET/lib/udev/rules.d/70-touchpad.rules
rm -f $TARGET/lib/udev/rules.d/60-block.rules
rm -f $TARGET/lib/udev/rules.d/60-drm.rules
rm -f $TARGET/lib/udev/rules.d/60-sensor.rules
rm -f $TARGET/lib/udev/rules.d/80-net-name-slot.rules
rm -f $TARGET/lib/udev/rules.d/80-drivers.rules
rm -f $TARGET/lib/udev/rules.d/60-cdrom_id.rules
rm -f $TARGET/lib/udev/rules.d/60-evdev.rules
rm -f $TARGET/lib/udev/rules.d/60-persistent-v4l.rules
rm -f $TARGET/lib/udev/rules.d/75-probe_mtd.rules
rm -f $TARGET/lib/udev/rules.d/60-persistent-alsa.rules
rm -f $TARGET/lib/udev/rules.d/78-sound-card.rules
rm -f $TARGET/lib/udev/rules.d/50-udev-default.rules
rm -f $TARGET/lib/udev/rules.d/60-input-id.rules

rm -rf $TARGET/lib/udev/scsi_id
rm -rf $TARGET/lib/udev/rc_keymaps
rm -rf $TARGET/lib/udev/ata_id
rm -rf $TARGET/lib/udev/collect
rm -rf $TARGET/lib/udev/cdrom_id
rm -rf $TARGET/lib/udev/mtd_probe
rm -rf $TARGET/etc/init.d/S20urandom

exit 0
