fix guest bug

This commit is contained in:
Pascal Vizeli
2017-04-17 23:00:50 +02:00
parent 70b8bf6b7a
commit 038bf0ff2b

View File

@@ -10,7 +10,7 @@ PASSWORD=$(jq --raw-output ".password // empty" $CONFIG_PATH)
sed -i "s/%%WORKGROUP%%/$WORKGROUP/g" /etc/smb.conf
if [ GUEST == "true" ]; then
if [ $GUEST == "true" ]; then
echo " group ok = yes" >> /etc/smb.conf
echo " public = yes" >> /etc/smb.conf
else