dns/generate: fix permissions, args

This commit is contained in:
Nico Schottelius 2024-08-15 13:41:14 +02:00
parent 9aaa640a8b
commit 33f8f69be3

2
dns-generate-for-device.sh Normal file → Executable file
View file

@ -4,7 +4,7 @@
# Retrieve an IPv6 interface address and generate a generic
# DNS zone file
if [ #$ -ne 3 ]; then
if [ $# -ne 3 ]; then
echo "$0 address interface hostname"
exit 1
fi