php-hotfix/examples/bash-facts.fix

11 lines
329 B
Plaintext

hotfix: This hotfix show how to use facts in bash
info: >
This lets you retrieve some additional system information during
runtime. Use 'hotfix facts' to see all the known facts.
author: Noccy <cvagnetoft@gmail.com>
lang: bash
---
info "Architecture: $(fact system.arch)"
info "Distribution: $(fact lsb.id)"