From b943ef609ef9aeba96599770f730d27b529146a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 6 Feb 2023 03:53:51 +0300 Subject: cleanup: remove old files, improve install Clean up old files and improve installation of system-wide configuration. --- system/update-hosts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 system/update-hosts (limited to 'system/update-hosts') diff --git a/system/update-hosts b/system/update-hosts deleted file mode 100755 index 6725ce9..0000000 --- a/system/update-hosts +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -# Check several times before giving up, useful when just waking up from sleep -# since internet is usually not available right away -wget -q --tries=3 --timeout=20 --spider 1.1.1.1 > /dev/null || exit - -curl "http://sbc.io/hosts/hosts" 2>/dev/null | \ - grep -vE '^(\s*)[1-9a-f:]{1,4}.*' | \ - cat /etc/hosts.head - > /etc/hosts -- cgit v1.2.3