remove regardless of type

This commit is contained in:
Aaron Murray authored and GitHub committed 2020-04-29 15:25:09 -05:00
1 parent bdbdff042b
commit ee58df4a0b
1 file changed
+1 -1
+1 -1
View File
@@ -385,7 +385,7 @@ fi
# remove networkmanager and dhcpcd5 then configure networkd
if [ ${version} -gt 4 ]; then
defLink="/etc/systemd/network/99-default.link"
if [ -f "${defLink}" ]; then
if [ -e "${defLink}" ]; then
rm -f "${defLink}"
fi
nic="eth0"