Revision 25605,
411 bytes
checked in by jdreed, 13 years ago
(diff) |
In reactivate:
* Use new lightdm-config hooks to actually run session setup and cleanup
|
Line | |
---|
1 | # This script is sourced (not executed) as root at the beginning of a |
---|
2 | # gdm login session. gdm blocks until it finishes. |
---|
3 | # This script is also sourced as root at the end of a lightdm login |
---|
4 | # session |
---|
5 | |
---|
6 | # Stop daemons that need to be restarted inside the chroot |
---|
7 | daemons=$(/usr/sbin/policy-rc.d --daemons) |
---|
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.