1
0

stop-smb-linux.sh 512 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. #
  3. # SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. #
  6. # This script stops the docker container the files_external tests were run
  7. # against. It will also revert the config changes done in start step.
  8. #
  9. # retrieve current folder to remove the config from the parent folder
  10. thisFolder=`echo $0 | sed 's#env/stop-smb-linux\.sh##'`
  11. if [ -z "$thisFolder" ]; then
  12. thisFolder="."
  13. fi;
  14. # cleanup
  15. rm $thisFolder/config.smb.php