diff --git a/dlinux b/dlinux index fb17195..bc87709 100755 --- a/dlinux +++ b/dlinux @@ -19,6 +19,7 @@ $0 restart - Restart your container $0 info - Get info about your container $0 stats - Get your container memory usage statistics $0 time - Get your container expiration time +$0 rootpass - Reset root user password $0 key-time - Get your api key expiration time " } @@ -82,6 +83,11 @@ command_time() { call_api GET time | jq -r .expireDate } +command_rootpass() { + data=$(call_api GET rootpass) + echo "Your new root password is: $(echo $data | jq -r .newRootPass)" +} + command_key-time() { call_api GET key-time | jq -r .keyexpireString }