4 ms·
Just generate /etc/hosts from a cron job... Pretty easy to concat, sort, and filter however you like in a short script.
by mech422 6y ago
Just generate /etc/hosts from a cron job...
Pretty easy to concat, sort, and filter however you like in a short script.
- coldpie 6y agoYou can also set up a systemd service to monitor files in a directory and refresh the /etc/hosts when they are changed.