do not blindly delete tailscale override conf

This commit is contained in:
Zac Holland
2023-12-18 14:09:17 -08:00
parent 61b47d9522
commit 2e65e8d5bd

View File

@@ -48,11 +48,6 @@ if [ $(systemd-sysext list 2>/dev/null | grep -c "/var/lib/extensions/tailscale"
systemd-sysext merge &>/dev/null || echo "ERROR: could not merge system extensions"
fi
# Remove the overrides conf
if test -f /etc/systemd/system/tailscaled.service.d/override.conf; then
rm -rf /etc/systemd/system/tailscaled.service.d/override.conf
fi
echo "done."
echo -n "Installing..."