Skip to content

Commit

Permalink
fix: Disable Samba if networking is disabled (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Mar 11, 2024
1 parent 77358f0 commit 787f815
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -Eeuo pipefail

[[ "$DHCP" == [Yy1]* ]] && return 0
[[ "$SAMBA" != [Yy1]* ]] && return 0
[[ "$NETWORK" != [Yy1]* ]] && return 0

SHARE="$STORAGE/shared"

Expand Down

0 comments on commit 787f815

Please sign in to comment.