Also automate installation of future udev rules.
--- /dev/null
+SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:04:0b:80:80:80", NAME="eth0"
+
{
install -v -m755 ${SCRDIR}/misc/udev/udev-create-persistent-net.sh \
/usr/local/bin
- install -v -m644 ${SCRDIR}/misc/udev/10-media-automount.rules \
- /etc/udev/rules.d/
- install -v -m644 ${SCRDIR}/misc/udev/11-sd-card-automount.rules \
- /etc/udev/rules.d/
+
+ for f in ${SCRDIR}/misc/udev/*.rules; do
+ install -v -m644 ${f} /etc/udev/rules.d
+ done
sed -i -e "s/\(SYMLINK+=\"cdrom\)\"/\1 dvd\"/" \
/lib/udev/rules.d/60-cdrom_id.rules