stop-smb-windows.sh 337 B

12345678910111213141516171819
  1. #!/bin/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