i recently learned eject is a binary which is called by the filemanagers
you can even remove it
sudo apt-get -y --purge remove eject

maybe thereafter a script with the same name stored at the...