This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/filesystem/fs/sbin/version

13 lines
198 B
Bash
Executable File

#! /bin/sh
config='/etc/config'
if [ -f "$config" ]; then
source "$config"
echo "$cfg_glued_version ($cfg_glued_git_version)"
exit 0
fi
echo "ERROR: failed to load '$config'."
exit 1