source: trunk/debathena/config/reactivate/debian/99debathena-reactivate-setup @ 25605

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
RevLine 
[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]7daemons=$(/usr/sbin/policy-rc.d --daemons)
[24125]8for daemon in $daemons; do
9    invoke-rc.d "$daemon" stop || [ $? = 100 ]
10done
11
12touch /var/run/athena-login
Note: See TracBrowser for help on using the repository browser.