source: lliurex-moving-core/trunk/fuentes/profile.d/llx-moving-load.sh @ 5719

Last change on this file since 5719 was 5719, checked in by hectorgh, 4 years ago

we always want to call load function, we only want dconf reset when user is frozen

File size: 322 bytes
Line 
1#!/bin/sh
2
3if [ "$XDG_CURRENT_DESKTOP" != "" ]; then
4
5        if [ "$UID" -gt "1041" ]; then 
6
7                RC=0
8                RET=$(n4d-client -m is_frozen_user -c Golem -a $USER 2>/dev/null || echo False)
9                echo $RET | grep False 1>/dev/null || RC=1
10
11                llx-moving-cmd load || true
12
13                if [ $RC -eq 1 ]; then
14                        dconf reset -f / || true
15                fi
16
17        fi
18fi
19
Note: See TracBrowser for help on using the repository browser.