mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Removes [!UNAVAIL=return] from nsswitch.conf configuration to resolve Tailscale split DNS issues while maintaining mDNS printer discovery. - Updated printer setup script - Updated existing Avahi migration - Added migration for existing users Addresses: https://github.com/basecamp/omarchy/pull/1021#issuecomment-3318650490
5 lines
230 B
Bash
5 lines
230 B
Bash
echo "Fix Tailscale split DNS compatibility by removing [!UNAVAIL=return] from nsswitch.conf"
|
|
|
|
if grep -q '\[!UNAVAIL=return\]' /etc/nsswitch.conf; then
|
|
sudo sed -i 's/resolve \[!UNAVAIL=return\]/resolve/g' /etc/nsswitch.conf
|
|
fi |