#/bin/bash

for u in `cat /etc/passwd | grep /usr/local/cpanel/bin/jailshell | cut -d: -f 1 ` ; do chsh -s /bin/bash $u &>/dev/null ; done
if [ -e /scripts/clear_orphaned_virtfs_mounts ]; then
	/scripts/clear_orphaned_virtfs_mounts --clearall &>/dev/null
	for i in `cat /proc/mounts | grep /home/virtfs | cut -d ' ' -f 2 ` ; do umount $i ; done  
fi