diff options
Diffstat (limited to 'scripts/poky-qemu-internal')
| -rwxr-xr-x | scripts/poky-qemu-internal | 5 |
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 | ||
| 110 | LOCKDIR="/tmp/qemu-tap-locks" | 110 | LOCKDIR="/tmp/qemu-tap-locks" |
| 111 | [ ! -d "$LOCKDIR" ] && mkdir $LOCKDIR | 111 | if [ ! -d "$LOCKDIR" ]; then |
| 112 | mkdir $LOCKDIR | ||
| 113 | chmod 777 $LOCKDIR | ||
| 114 | fi | ||
| 112 | 115 | ||
| 113 | IFCONFIG=`which ifconfig` | 116 | IFCONFIG=`which ifconfig` |
| 114 | if [ -z "$IFCONFIG" ]; then | 117 | if [ -z "$IFCONFIG" ]; then |
