stop-smb-linux.sh 482 B

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. #
  3. # ownCloud
  4. #
  5. # This script stops the docker container the files_external tests were run
  6. # against. It will also revert the config changes done in start step.
  7. #
  8. # @author Morris Jobke
  9. # @copyright 2015 Morris Jobke <hey@morrisjobke.de>
  10. #
  11. # retrieve current folder to remove the config from the parent folder
  12. thisFolder=`echo $0 | sed 's#env/stop-smb-linux\.sh##'`
  13. if [ -z "$thisFolder" ]; then
  14. thisFolder="."
  15. fi;
  16. # cleanup
  17. rm $thisFolder/config.smb.php