瀏覽代碼

fix: Update pihole command in add dns entries command

master
Bingen Eguzkitza 4 月之前
父節點
當前提交
4cf7934ca4
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      add_dns_entries.sh

+ 1
- 1
add_dns_entries.sh 查看文件

@@ -29,7 +29,7 @@ fi
echo Copying user files to Container $container
docker cp /tmp/${CONF_FILE} $container:/etc/dnsmasq.d/99-local-addresses.conf
# restart dns
docker exec ${container} pihole restartdns
docker exec ${container} pihole reloaddns

echo Removing copied user files
docker exec ${container} sh -c 'rm -Rf /tmp/${CONF_FILE}'

Loading…
取消
儲存