aboutsummaryrefslogtreecommitdiff
path: root/arctica-guest-session-auto.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-16 13:38:09 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-16 14:24:59 +0200
commitcb831b959be181ded814fb84087d7a349a23188f (patch)
treec7eb0fbdc535a4cb7f42705e90c645ba1d2be568 /arctica-guest-session-auto.sh
parentc88e2b1f795ef463a552afd150779c250ad056e5 (diff)
downloadarctica-greeter-cb831b959be181ded814fb84087d7a349a23188f.tar.gz
arctica-greeter-cb831b959be181ded814fb84087d7a349a23188f.tar.bz2
arctica-greeter-cb831b959be181ded814fb84087d7a349a23188f.zip
arctica-guest-session-auto.sh: Don't rely on .profile to be loaded, define a default for DIALOG_SLEEP.
Diffstat (limited to 'arctica-guest-session-auto.sh')
-rwxr-xr-xarctica-guest-session-auto.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/arctica-guest-session-auto.sh b/arctica-guest-session-auto.sh
index 481b256..785b077 100755
--- a/arctica-guest-session-auto.sh
+++ b/arctica-guest-session-auto.sh
@@ -16,6 +16,8 @@
export TEXTDOMAINDIR=/usr/share/locale
export TEXTDOMAIN=arctica-greeter
+DIALOG_SLEEP=${DIALOG_SLEEP:-4}
+
# disable screen locking (GNOME, Unity)
gsettings set org.gnome.desktop.lockdown disable-lock-screen true