Skip to content
This repository was archived by the owner on Dec 9, 2019. It is now read-only.

Commit a624493

Browse files
committed
[skip ci] Fix problems with systemd-resolved
1 parent d6c45a4 commit a624493

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cli/Valet/DnsMasq.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private function _mergeDns()
100100
public function install($domain = 'test')
101101
{
102102
$this->dnsmasqSetup();
103-
// $this->fixResolved();
103+
$this->fixResolved();
104104
$this->createCustomConfigFile($domain);
105105
$this->pm->nmRestart($this->sm);
106106
$this->sm->restart('dnsmasq');
@@ -126,10 +126,10 @@ public function createCustomConfigFile($domain)
126126
*/
127127
public function fixResolved()
128128
{
129-
$resolved = $this->resolvedConfigPath;
129+
// $resolved = $this->resolvedConfigPath;
130130

131-
$this->files->backup($resolved);
132-
$this->files->putAsUser($resolved, $this->files->get(__DIR__.'/../stubs/resolved.conf'));
131+
// $this->files->backup($resolved);
132+
// $this->files->putAsUser($resolved, $this->files->get(__DIR__.'/../stubs/resolved.conf'));
133133

134134
$this->sm->disable('systemd-resolved');
135135
$this->sm->stop('systemd-resolved');

0 commit comments

Comments
 (0)