strip burble.dn42 if required
This commit is contained in:
parent
7ae14cedab
commit
f6d98bba6a
@ -16,6 +16,9 @@ name="$1"
|
|||||||
ipv6="$2"
|
ipv6="$2"
|
||||||
ipv4="$3"
|
ipv4="$3"
|
||||||
|
|
||||||
|
# strip .burble.dn42 from name if it was included
|
||||||
|
name=${name%.burble.dn42}
|
||||||
|
|
||||||
# the IPv4 arg is optional
|
# the IPv4 arg is optional
|
||||||
if [ -z "$ipv4" ]
|
if [ -z "$ipv4" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user