samba.sh fix NMBD variable derp
This commit is contained in:
parent
af124fdfd7
commit
96b832124d
2
samba.sh
2
samba.sh
@ -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 -D
|
[[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D
|
||||||
exec ionice -c 3 smbd -FS
|
exec ionice -c 3 smbd -FS
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user