summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-02-12 20:23:56 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-02-12 20:23:56 (GMT)
commit999bede4dbfbb5ccfe83f1939f8f5cabe1d8f954 (patch)
treef4cc4baee3e0ff9b313ce385e9307d6edfef0824
parent584630052112824b7dd476f2fac1f468d7b94b13 (diff)
downloadlinhes_dev-999bede4dbfbb5ccfe83f1939f8f5cabe1d8f954.zip
customize_airrootfs.sh: update for systemd network naming
-rwxr-xr-xbuild_tools/archiso-19/mythvantage/airootfs/root/customize_airootfs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_tools/archiso-19/mythvantage/airootfs/root/customize_airootfs.sh b/build_tools/archiso-19/mythvantage/airootfs/root/customize_airootfs.sh
index 0845424..eb288a4 100755
--- a/build_tools/archiso-19/mythvantage/airootfs/root/customize_airootfs.sh
+++ b/build_tools/archiso-19/mythvantage/airootfs/root/customize_airootfs.sh
@@ -24,8 +24,12 @@ if [ -e /etc/udev/rules.d/80-net-name-slot.rules ]
then
rm -f /etc/udev/rules.d/80-net-name-slot.rules
fi
+if [ -e /etc/udev/rules.d/80-net-setup-link.rules ]
+then
+ rm -f /etc/udev/rules.d/80-net-setup-link.rules
+fi
-ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
+ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
#remove tmp mount as tmpfs
systemctl mask tmp.mount