summaryrefslogtreecommitdiffstats
path: root/scripts/poky-qemu-internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-qemu-internal')
-rwxr-xr-xscripts/poky-qemu-internal5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index 2f8af95707..66db0333ee 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -108,7 +108,10 @@ release_lock() {
108} 108}
109 109
110LOCKDIR="/tmp/qemu-tap-locks" 110LOCKDIR="/tmp/qemu-tap-locks"
111[ ! -d "$LOCKDIR" ] && mkdir $LOCKDIR 111if [ ! -d "$LOCKDIR" ]; then
112 mkdir $LOCKDIR
113 chmod 777 $LOCKDIR
114fi
112 115
113IFCONFIG=`which ifconfig` 116IFCONFIG=`which ifconfig`
114if [ -z "$IFCONFIG" ]; then 117if [ -z "$IFCONFIG" ]; then