We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f822364 commit f01048aCopy full SHA for f01048a
rootfs/etc/cont-init.d/01-config.sh
@@ -185,7 +185,7 @@ if [[ "$(yq --output-format=json e '(.. | select(tag == "!!str")) |= envsubst' "
185
if [[ "$(_jq '.hidefiles')" != "null" ]] && [[ -n "$(_jq '.hidefiles')" ]]; then
186
echo "hide files = $(_jq '.hidefiles')" >> /etc/samba/smb.conf
187
fi
188
- if [[ "$(_jq '.recycle')" != "null" ]] && [[ -n "$(_jq '.recycle')" ]]; then
+ if [[ "$(_jq '.recycle')" != "null" ]] && [[ "$(_jq '.recycle')" = "yes" ]]; then
189
echo "vfs objects = recycle" >> /etc/samba/smb.conf
190
echo "recycle:repository = .recycle" >> /etc/samba/smb.conf
191
echo "recycle:keeptree = yes" >> /etc/samba/smb.conf
0 commit comments