Revision 25605,
692 bytes
checked in by jdreed, 12 years ago
(diff) |
In reactivate:
* Use new lightdm-config hooks to actually run session setup and cleanup
|
Rev | Line | |
---|
[24023] | 1 | # This script is sourced (not executed) as root at the end of a gdm |
---|
| 2 | # login session. gdm blocks until it finishes. DISPLAY is set but |
---|
| 3 | # the X server might be dead in some cases. |
---|
[25605] | 4 | # This script is also sourced as root at the end of a lightdm login |
---|
| 5 | # session |
---|
[23143] | 6 | |
---|
[23257] | 7 | # Set the volume to zero for all sound cards, and save that state. |
---|
[24012] | 8 | invoke-rc.d debathena-reactivate start |
---|
[23257] | 9 | |
---|
[24196] | 10 | # Clean up CUPS' cache before starting CUPS back up |
---|
[24231] | 11 | rm -f /var/cache/cups/remote.cache |
---|
[24196] | 12 | |
---|
[24125] | 13 | # Restart necessary daemons outside the chroot |
---|
[24153] | 14 | daemons=$(/usr/sbin/policy-rc.d --daemons) |
---|
[24125] | 15 | for daemon in $daemons; do |
---|
| 16 | invoke-rc.d "$daemon" start || [ $? = 100 ] |
---|
| 17 | done |
---|
| 18 | |
---|
[24149] | 19 | /usr/lib/debathena-reactivate/reactivate |
---|
| 20 | |
---|
[24125] | 21 | rm /var/run/athena-login |
---|
Note: See
TracBrowser
for help on using the repository browser.