Revision 25605,
411 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 beginning of a |
---|
| 2 | # gdm login session. gdm blocks until it finishes. |
---|
[25605] | 3 | # This script is also sourced as root at the end of a lightdm login |
---|
| 4 | # session |
---|
[23155] | 5 | |
---|
[24125] | 6 | # Stop daemons that need to be restarted inside the chroot |
---|
[24153] | 7 | daemons=$(/usr/sbin/policy-rc.d --daemons) |
---|
[24125] | 8 | for daemon in $daemons; do |
---|
| 9 | invoke-rc.d "$daemon" stop || [ $? = 100 ] |
---|
| 10 | done |
---|
| 11 | |
---|
| 12 | touch /var/run/athena-login |
---|
Note: See
TracBrowser
for help on using the repository browser.