~ubuntu-branches/ubuntu/raring/ltspfs/raring-proposed

« back to all changes in this revision

Viewing changes to scripts/ldm/X98-delayed-mounter

  • Committer: Bazaar Package Importer
  • Author(s): Vagrant Cascadian
  • Date: 2009-07-17 12:10:56 UTC
  • mfrom: (4.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090717121056-bfeil0wm4jz3lmhh
Tags: 0.5.13-1
* new upstream version:
  - fixes to local mounts
    + find ldm's Xauthority in /var/run.
    + support ldm Xauthority in a sub-dir.
    + mount in /media/root if local mounting is configured.
    + only run mount for localapps if user's home dir is mounted via sshfs.
    + drop delayedmounter from xinitrc.d, as udev scripts should be
      sufficient now.
    + relocate delayed-mounter ldm hooks so they run after the user is added
      to /etc/passwd, and before the user is removed from /etc/passwd.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# sourced with .
 
3
#
 
4
# Script to cleanup local ltspfsmounter
 
5
#
 
6
 
 
7
if [ -f /var/run/ltspfs_fstab ] && [ -x /usr/sbin/ltspfsmounter ]; then
 
8
    unset SSH_CONNECTION
 
9
    su ${LDM_USERNAME} -c "/usr/sbin/ltspfsmounter all cleanup" 
 
10
fi