2015-03-03 18:50:59 +03:00
|
|
|
#!/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
|
2015-04-28 12:17:46 +03:00
|
|
|
thisFolder=`echo $0 | sed 's#env/stop-smb-windows\.sh##'`
|
2015-03-03 18:50:59 +03:00
|
|
|
|
|
|
|
if [ -z "$thisFolder" ]; then
|
|
|
|
thisFolder="."
|
|
|
|
fi;
|
|
|
|
|
|
|
|
|
|
|
|
# cleanup
|
|
|
|
rm $thisFolder/config.smb.php
|