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
173 B
Bash
Executable File

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