diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2022-04-20 08:33:25 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2022-04-20 08:33:25 +0300 |
commit | 3c551c3f567a3342f3168d08eae52a97bc8b2ed6 (patch) | |
tree | a94a71f0ea481cf5e8ff705fd46ef006477aedc6 /bin/enter | |
parent | 2d5df53b1aacc4e5528541cb98bfcf00dffa6c38 (diff) | |
download | arching-kaos-tools-3c551c3f567a3342f3168d08eae52a97bc8b2ed6.tar.gz arching-kaos-tools-3c551c3f567a3342f3168d08eae52a97bc8b2ed6.tar.bz2 arching-kaos-tools-3c551c3f567a3342f3168d08eae52a97bc8b2ed6.zip |
a bit of work on name resolving
Diffstat (limited to 'bin/enter')
-rwxr-xr-x | bin/enter | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6,9 +6,11 @@ #entrance="QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH" # End of tests -if [ ! -z "$1" ] +if [ ! -z "$1" ] && [ "$1" == "-n" ] +then + entrance="$(ipns-resolve $2)" +elif [ ! -z "$1" ] then - echo """ #TODO Start from specific zblock """ entrance="$1" else # By default we enter from the latest block |