1
0

stop-smb-windows.sh 345 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. #
  3. # ownCloud
  4. #
  5. # @author Thomas Müller
  6. # @copyright 2015 Thomas Müller <deepdiver@owncloud.com>
  7. #
  8. # retrieve current folder to remove the config from the parent folder
  9. thisFolder=`echo $0 | sed 's#env/stop-smb-windows\.sh##'`
  10. if [ -z "$thisFolder" ]; then
  11. thisFolder="."
  12. fi;
  13. # cleanup
  14. rm $thisFolder/config.smb.php