#!/bin/sh #get forced echo "unmounting smb file systems (force)" umount */*/* #umount `mount | grep smbfs | awk '{print $3}'` kill -9 `ps aux | grep mount.cifs | awk '{print $2}'`