dns/generate: fix permissions, args
This commit is contained in:
parent
9aaa640a8b
commit
33f8f69be3
1 changed files with 1 additions and 1 deletions
2
dns-generate-for-device.sh
Normal file → Executable file
2
dns-generate-for-device.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Reference in a new issue