]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/meshname
Ability to send backup via FIFO
[dotfiles.git] / bin / bin / meshname
1 #!/bin/sh -e
2
3 sipcalc $1 |
4 sed -n 's/://g ; s/^Expanded.*-.//p' |
5 xxd -r -p |
6 perl -MMIME::Base32 -ne 'print lc encode_base32 $_; print ".meshname\n"'