From a0882dad498083440bc642a811d805f5bbba7aba Mon Sep 17 00:00:00 2001 From: kaiyou Date: Thu, 14 May 2020 12:02:24 +0200 Subject: [PATCH] Use the custom etc/hosts banner --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 3e99fee..781966d 100644 --- a/main.go +++ b/main.go @@ -46,6 +46,7 @@ func main() { // Prepare the /etc/hosts writer hostsFile := &etchosts.EtcHosts{ + Banner: "# ! managed automatically for wesher " + config.Banner, Logger: logrus.StandardLogger(), }