diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-29 15:23:23 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-29 15:23:23 (EDT) |
commit | 6fcbbe84fc7510888058b2f227a596046144194c (patch) | |
tree | bc6f66f2f1f659a504f6600dd409d52bbe71d189 /lib/metadata | |
parent | a0699c1a9fedf8d682dd1371c85b73488416b1e3 (diff) |
Add functions to get arch and plat on ProteanOS.
Diffstat (limited to 'lib/metadata')
-rw-r--r-- | lib/metadata/proteanos.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 6ff84e2..acc80a3 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -90,3 +90,23 @@ _ob_get_distrev_proteanos() _ob_return 0 return ${?} } + +_ob_get_system_arch_proteanos() +{ + _ob_local + + cat /etc/proteanos_arch + + _ob_return 0 + return ${?} +} + +_ob_get_system_plat_proteanos() +{ + _ob_local + + cat /etc/proteanos_plat + + _ob_return 0 + return ${?} +} |