angstrom-version: enhance lsb_release

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2013-07-03 16:00:37 +02:00
parent d6e75abdeb
commit ab6eee189b

View File

@@ -9,6 +9,10 @@ case $1 in
"-i")
echo "Distributor ID: Angstrom"
;;
"-ir")
echo "Distributor ID: Angstrom"
echo "Release: $VERSION"
;;
"-irc")
echo "Distributor ID: Angstrom"
echo "Release: $VERSION"
@@ -20,6 +24,10 @@ case $1 in
"-r")
echo "Release: $VERSION"
;;
"-ri")
echo "Release: $VERSION"
echo "Distributor ID: Angstrom"
;;
"-c")
echo "Codename: $CODENAME"
;;
@@ -32,6 +40,9 @@ case $1 in
"-s")
echo "No LSB modules are available."
;;
"-sc")
echo "$CODENAME"
;;
*)
echo "Usage: lsb_release [options]"
echo ""