samba.sh fix nmbd command line option derp

This commit is contained in:
David Personette 2016-02-08 05:34:35 -05:00
parent 647fce5eeb
commit af124fdfd7

View File

@ -139,6 +139,6 @@ elif [[ $# -ge 1 ]]; then
elif ps -ef | egrep -v grep | grep -q smbd; then elif ps -ef | egrep -v grep | grep -q smbd; then
echo "Service already running, please restart container to apply changes" echo "Service already running, please restart container to apply changes"
else else
[[ $NMBD ]] && ionice -c 3 nmbd -DS [[ $NMBD ]] && ionice -c 3 nmbd -D
exec ionice -c 3 smbd -FS exec ionice -c 3 smbd -FS
fi fi