Compare commits

...

2 Commits

Author SHA1 Message Date
alex bc6e8ead0e Switch sed delimeter in order to avoid conflict with paths 2022-02-11 20:45:54 +01:00
alex 59aa52ba6c Add requirement info in README 2022-02-11 20:45:24 +01:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -2,6 +2,9 @@
Source: http://www.btteknik.net/?p=143
### Requirements
* DiG
### DNSSEC key
* need to create a dnssec key, so that we can authenticate clients' updates
```
+1 -1
View File
@@ -4,7 +4,7 @@ echo "Copying Systemd units to system directory..."
sudo cp systemd-templates/dns-update.service /etc/systemd/system/
sudo cp systemd-templates/dns-update.timer /etc/systemd/system/
sudo sed -i -e "s/PH_USER/$(whoami)/g" /etc/systemd/system/dns-update.service
sudo sed -i -e "s/PH_DIRECTORY/$(pwd)/g" /etc/systemd/system/dns-update.service
sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/dns-update.service
echo "Reloading Systemd..."
sudo systemctl daemon-reload