stop-smb-windows.sh 336 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. #
  3. # SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  4. # SPDX-License-Identifier: AGPL-3.0-only
  5. #
  6. # retrieve current folder to remove the config from the parent folder
  7. thisFolder=`echo $0 | sed 's#env/stop-smb-windows\.sh##'`
  8. if [ -z "$thisFolder" ]; then
  9. thisFolder="."
  10. fi;
  11. # cleanup
  12. rm $thisFolder/config.smb.php