source: trunk/debathena/config/reactivate/debian/01debathena-reactivate-cleanup @ 24231

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