diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2012-08-13 14:05:59 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2012-09-20 14:08:03 +0200 |
commit | a56afe39a10a6f15576b437b8658f48373227479 (patch) | |
tree | 9f0257feec66380c569679c32099e89c0f56757a /campusconnect | |
parent | ce3814ff8e3cbd82507b25ef16129eb944e7425c (diff) | |
download | ecs2-a56afe39a10a6f15576b437b8658f48373227479.tar.gz ecs2-a56afe39a10a6f15576b437b8658f48373227479.zip |
Terms resource added to lsfproxy script.
Diffstat (limited to 'campusconnect')
-rwxr-xr-x | campusconnect/scripts/lsfproxy.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/campusconnect/scripts/lsfproxy.sh b/campusconnect/scripts/lsfproxy.sh index c09ede7..65f1f18 100755 --- a/campusconnect/scripts/lsfproxy.sh +++ b/campusconnect/scripts/lsfproxy.sh @@ -54,6 +54,7 @@ usage() { echo " -m ... course members" echo " -o ... organization units" echo " -t ... directory trees" + echo " -r ... terms" echo " -s ... memberships" echo " -i <resource id>" echo " -k <membership id>" @@ -93,7 +94,9 @@ if [ X$COURSES = Xtrue ]; then RESOURCE="campusconnect/courses" else if [ X$TREES = Xtrue ]; then RESOURCE="campusconnect/directory_trees" else if [ X$MEMBERSHIPS = Xtrue ]; then RESOURCE="sys/memberships" else if [ X$ORGANIZATION_UNITS = Xtrue ]; then RESOURCE="campusconnect/organization_units" - else echo "ERROR: no resource selection option specified (option -c|m|t)"; exit $E_OPTERROR + else if [ X$TERMS = Xtrue ]; then RESOURCE="campusconnect/terms" + else echo "ERROR: no resource selection option specified (option -c|m|t)"; exit $E_OPTERROR + fi fi fi fi @@ -234,6 +237,7 @@ do m) COURSE_MEMBERS=true;; o) ORGANIZATION_UNITS=true;; t) TREES=true;; + r) TERMS=true;; s) MEMBERSHIPS=true;; h) usage; exit 0;; ?) usage; exit 0;; |