Revision 25773,
577 bytes
checked in by jdreed, 12 years ago
(diff) |
In reactivate:
* Cleanup cached user dmrc files and AccountService entries (Trac:
#1259)
In xsession:
* Cleanup lightdm's cached dmrc
|
Line | |
---|
1 | if [ "$GDMSESSION" = "000debathena-nocalls" ]; then |
---|
2 | export NOCALLS=1 |
---|
3 | message "You have chosen to log in without your customizations." \ |
---|
4 | "Your dotfiles will be ignored in favor of the system" \ |
---|
5 | "default settings. You can use this session to fix any" \ |
---|
6 | "problems with your dotfiles." |
---|
7 | fi |
---|
8 | |
---|
9 | # You don't actually want nocalls as your default session |
---|
10 | DMRCFILES="$HOME/.dmrc \ |
---|
11 | /var/cache/gdm/$USER/dmrc \ |
---|
12 | /var/cache/lightdm/dmrc/$USER.dmrc" |
---|
13 | |
---|
14 | for f in $DMRCFILES; do |
---|
15 | [ -e "$f" ] && \ |
---|
16 | grep -q 000debathena-nocalls "$f" && \ |
---|
17 | rm "$f" |
---|
18 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.