* Support repeated mounting of the CIFS share. Necessary because the
mount tends to timeout if the host is heavily loaded. svn path=/nixpkgs/trunk/; revision=22250
This commit is contained in:
parent
1f8e6d4814
commit
88a5d8915a
@ -253,7 +253,7 @@ rec {
|
|||||||
#! ${bash}/bin/sh
|
#! ${bash}/bin/sh
|
||||||
diskImage=$diskImage
|
diskImage=$diskImage
|
||||||
TMPDIR=$TMPDIR
|
TMPDIR=$TMPDIR
|
||||||
${socat}/bin/socat unix-listen:$TMPDIR/samba exec:'${samba}/sbin/smbd -s $TMPDIR/smb.conf' &
|
${socat}/bin/socat unix-listen:$TMPDIR/samba system:'while true; do ${samba}/sbin/smbd -s $TMPDIR/smb.conf; done' &
|
||||||
while [ ! -e $TMPDIR/samba ]; do sleep 0.1; done # ugly
|
while [ ! -e $TMPDIR/samba ]; do sleep 0.1; done # ugly
|
||||||
${qemuCommand}
|
${qemuCommand}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user