diff options
author | Moses Narrow | 2023-02-05 09:40:12 -0600 |
---|---|---|
committer | Moses Narrow | 2023-02-05 09:40:12 -0600 |
commit | e508df363e1aaff108bf57321c9ee2c814b61497 (patch) | |
tree | 6aaee9d79a57d02a6baf9bcfb655740ef2109b46 /skywire-autoconfig | |
parent | 37f8e696e2776d9616451ccb707dffeb082f8e00 (diff) | |
download | aur-e508df363e1aaff108bf57321c9ee2c814b61497.tar.gz |
add show version on autoconfig if version is not unknown
Diffstat (limited to 'skywire-autoconfig')
-rwxr-xr-x | skywire-autoconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skywire-autoconfig b/skywire-autoconfig index 1a29b9550676..32f485ac962a 100755 --- a/skywire-autoconfig +++ b/skywire-autoconfig @@ -170,6 +170,9 @@ fi #root portion of the config _msg2 "Configuring skywire" +if [[ $(skywire -v | awk '{print $NF}') != *"unknown"* ]] ; then +_msg2 "version: $(skywire -v | awk '{print $NF}')" +fi #attempt to import config if none exists - i.e. import skybian config or restore config if [[ ! -f /opt/skywire/skywire.json ]]; then if [[ -f /etc/skywire-config.json ]]; then |