Revision 24231,
614 bytes
checked in by broder, 15 years ago
(diff) |
In reactivate:
* Ignore removal of the CUPS remote queue cache.
|
Line | |
---|
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. |
---|
4 | |
---|
5 | # Set the volume to zero for all sound cards, and save that state. |
---|
6 | invoke-rc.d debathena-reactivate start |
---|
7 | |
---|
8 | # Clean up CUPS' cache before starting CUPS back up |
---|
9 | rm -f /var/cache/cups/remote.cache |
---|
10 | |
---|
11 | # Restart necessary daemons outside the chroot |
---|
12 | daemons=$(/usr/sbin/policy-rc.d --daemons) |
---|
13 | for daemon in $daemons; do |
---|
14 | invoke-rc.d "$daemon" start || [ $? = 100 ] |
---|
15 | done |
---|
16 | |
---|
17 | /usr/lib/debathena-reactivate/reactivate |
---|
18 | |
---|
19 | rm /var/run/athena-login |
---|
Note: See
TracBrowser
for help on using the repository browser.