samba.sh cd to /tmp, so / can be RO

This commit is contained in:
David Personette 2015-07-03 11:16:16 -04:00
parent 682b2d769c
commit a02e294ae6

View File

@ -104,6 +104,8 @@ The 'command' (if provided and valid) will be run instead of samba
exit $RC exit $RC
} }
cd /tmp
while getopts ":hi:t:u:s:" opt; do while getopts ":hi:t:u:s:" opt; do
case "$opt" in case "$opt" in
h) usage ;; h) usage ;;