Ver Fonte

fix: Disable Samba if networking is disabled (#254)

Kroese há 1 ano atrás
pai
commit
787f815527
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/samba.sh

+ 1 - 0
src/samba.sh

@@ -5,6 +5,7 @@ set -Eeuo pipefail
 
 [[ "$DHCP" == [Yy1]* ]] && return 0
 [[ "$SAMBA" != [Yy1]* ]] && return 0
+[[ "$NETWORK" != [Yy1]* ]] && return 0
 
 SHARE="$STORAGE/shared"