.bash logout

From SOFTICE

Jump to: navigation, search


Developed by:

Synopsis

This is a bash logout script used by SOFTICE. Its purpose is to attempt to unmount the user's Samba share from their home directory if it is not already mounted. This file is located at /home/sys/osc/homerun/.bash_logout.

File

# unmount the smb share if it is mounted
if grep -q ~ /etc/mtab; then
  smbumount ~ 
fi