Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Final push, syntax corrected, v2 ready
Browse files Browse the repository at this point in the history
  • Loading branch information
TokugawaHeavyIndustries authored Feb 22, 2021
1 parent ea7fafe commit 71d72c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,7 @@ if ($capturech -eq 1) {

localcapconfig
$cifsserverinstalled = apt-cache policy samba-common-bin | grep 'none'
$cifsserverinstalled2 = apt-cache policy samba | grep 'none'
if ($cifsserverinstalled -ne $NULL -or $cifsserverinstalled2 -ne $NULL) {
if ($cifsserverinstalled -ne $NULL) {
echo "samba-common samba-common/workgroup string WORKGROUP" | sudo debconf-set-selections
echo "samba-common samba-common/dhcp boolean true" | sudo debconf-set-selections
echo "samba-common samba-common/do_debconf boolean true" | sudo debconf-set-selections
Expand Down

0 comments on commit 71d72c6

Please sign in to comment.