diff options
Diffstat (limited to 'apps/files_external/tests/env/stop-smb-windows.sh')
-rwxr-xr-x | apps/files_external/tests/env/stop-smb-windows.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/files_external/tests/env/stop-smb-windows.sh b/apps/files_external/tests/env/stop-smb-windows.sh new file mode 100755 index 00000000000..8e9c82b9569 --- /dev/null +++ b/apps/files_external/tests/env/stop-smb-windows.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# +# ownCloud +# +# @author Thomas Müller +# @copyright 2015 Thomas Müller <deepdiver@owncloud.com> +# + +# retrieve current folder to remove the config from the parent folder +thisFolder=`echo $0 | replace "env/stop-smb-windows.sh" ""` + +if [ -z "$thisFolder" ]; then + thisFolder="." +fi; + + +# cleanup +rm $thisFolder/config.smb.php |