Fixing the PATH envvar.

This commit is contained in:
Philippe Pittoli 2024-11-24 09:51:58 +01:00
parent d9e9a03645
commit 08347ee540
3 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
# Copying files from the dnsmanagerd bind9 directory to the powerdns directory. # Copying files from the dnsmanagerd bind9 directory to the powerdns directory.
PDNSDIR="/var/powerdns/" PDNSDIR="/var/powerdns/"
DNSMANDIR="/tmp/DATA-dnsmanagerd/bind9-zones/" DNSMANDIR="/tmp/DATA-dnsmanagerd/bind9-zones/"

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
# Watchdog for the primary name server. # Watchdog for the primary name server.
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
REMOTE="gandi" REMOTE="gandi"
REMOTE_DIR="/var/powerdns/" REMOTE_DIR="/var/powerdns/"

View File

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
# Primary sends files in $DIR. # Primary sends files in $DIR.
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
DIR="/var/powerdns/" DIR="/var/powerdns/"
local_update() { local_update() {