From: Ludovic CHEVALIER Date: Mon, 24 Oct 2016 08:46:35 +0000 (+0200) Subject: Correction : local/network-configure X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=0f30c735772aaf4cf4931b4a4fdf6092b5e177f0;hp=e4502c8dacc064436dfb6f2d57bf1637ae376391 Correction : local/network-configure --- diff --git a/etc/sv/unbound/local.sh b/etc/sv/unbound/local.sh index 319df49..866f665 100644 --- a/etc/sv/unbound/local.sh +++ b/etc/sv/unbound/local.sh @@ -1,11 +1,6 @@ sudo apt-get install unbound "$tool"/local/insserv-remove unbound -sudo install -m 644 -o root -g root /dev/stdin /etc/resolv.conf <<-EOF - search ${local_host#*.} - nameserver 127.0.0.1 - #nameserver ${local_host_nameserver} - EOF sudo install -m 440 -o unbound -g unbound \ "$tool"/etc/unbound/named.cache \ /etc/unbound/named.cache diff --git a/local/network-configure b/local/network-configure index 8a7e721..e349a7b 100755 --- a/local/network-configure +++ b/local/network-configure @@ -17,7 +17,6 @@ sudo install -m 644 -o root -g root /dev/stdin \ /etc/hosts sudo install -m 644 -o root -g root /dev/stdin \ /etc/resolv.conf <<-EOF - domain ${local_domainname} search ${local_host#*.} nameserver 127.0.0.1 #nameserver ${local_host_nameserver}