Ignore:
Timestamp:
Oct 2, 2017, 5:28:00 PM (3 years ago)
Author:
hectorgh
Message:

fixing profile.d call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-moving-core/trunk/fuentes/profile.d/llx-moving-load.sh

    r5719 r5971  
    66
    77                RC=0
    8                 RET=$(n4d-client -m is_frozen_user -c Golem -a $USER 2>/dev/null || echo False)
     8                RET=$(n4d-client -h server -m is_frozen_user -c Golem -a $USER 2>/dev/null || echo False)
     9
     10                # Fallback in case function is not supported. It should be, but still...
     11                RET=$( echo $RET | grep FUNCTION 1>/dev/null && echo False || echo $RET )
     12
     13                # If not False (ie True), user is frozen
    914                echo $RET | grep False 1>/dev/null || RC=1
     15
    1016
    1117                llx-moving-cmd load || true
Note: See TracChangeset for help on using the changeset viewer.