Skip to content

Commit

Permalink
[#4] ddns wip
Browse files Browse the repository at this point in the history
- install with default DOMAIN_NAME
  • Loading branch information
horia committed May 21, 2019
1 parent 8dc2984 commit 1330b4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@ config:
.else
@echo Super-Master
.endif
.for _NSDCONF in ${NSDCONF:N*nsd.conf:N*.PowerDNS}
.if ${DOMAIN_NAME} != "example.com"
. for _NSDCONF in ${NSDCONF:N*nsd.conf:N*.PowerDNS}
cp -p ${_NSDCONF:S|${DOMAIN_NAME}|example.com|:S|^|${WRKSRC}/|} \
${_NSDCONF:S|^|${WRKSRC}/|}
.endfor
. endfor
.endif
@echo Configured

${DITHEMATIC}:
Expand Down

0 comments on commit 1330b4e

Please sign in to comment.