westdc-ftp/root/umount.sh

5 lines
155 B
Bash
Executable File

#!/bin/sh
php -f ftp-umount.php
chmod +x /root/ftp-umount.sh
/root/ftp-umount.sh
find . -depth -empty -type d -mindepth 2 -maxdepth 2 -exec rmdir -v {} \;