Explorar o código

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

Kroese hai 1 ano
pai
achega
787f815527
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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"