19 lines
339 B
Bash
19 lines
339 B
Bash
|
#!/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
|