mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Improve test for presence of smbd (#754)
Will now work with nix / nixOS Co-authored-by: omernaveedxyz <omernaveedxyz@users.noreply.github.com>
This commit is contained in:
parent
392e74c16b
commit
6eeb3db45c
1 changed files with 1 additions and 1 deletions
2
quickemu
2
quickemu
|
@ -886,7 +886,7 @@ function vm_boot() {
|
|||
fi
|
||||
|
||||
# If smbd is available and ~/Public is present export it to the guest via samba
|
||||
if [[ -e "/usr/sbin/smbd" && -n ${PUBLIC} ]]; then
|
||||
if [[ -x "$(command -v smbd)" && -n ${PUBLIC} ]]; then
|
||||
NET="${NET},smb=${PUBLIC}"
|
||||
echo " - smbd: On guest: smb://10.0.2.4/qemu"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue