diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-03-22 23:23:49 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-03-22 23:23:49 +0100 |
commit | 657f6d2d6775968c7e269cf74a414719e7b241f4 (patch) | |
tree | 2c913abe4760cb17ab08d3d616a7004409a71531 /lib/actions | |
parent | 01a1ed449f72740d81cda58357936639ce8b79cd (diff) |
Discover some system information
Diffstat (limited to 'lib/actions')
-rw-r--r-- | lib/actions/sysinfo.bash | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/actions/sysinfo.bash b/lib/actions/sysinfo.bash new file mode 100644 index 0000000..d0e07aa --- /dev/null +++ b/lib/actions/sysinfo.bash @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +RSTAR_DEPS_BIN+=( + awk +) + +action() { + for key in "${!RSTAR_PLATFORM[@]}" + do + printf "%-15s %s\n" "$key" "${RSTAR_PLATFORM[$key]}" + done +} |