Soft Patch Panel
 help / color / mirror / Atom feed
From: x-fn-spp@sl.ntt-tx.co.jp
To: ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp
Cc: spp@dpdk.org
Subject: [spp] [PATCH] docs: update qemu-ifup
Date: Fri, 21 Sep 2018 13:17:02 +0900	[thread overview]
Message-ID: <201809210417.w8L4H25D018075@imss03.silk.ntt-tx.co.jp> (raw)

From: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>

To fix errors in `qemu-ifup`, remove the first erroneous line and
correct the paths of tunctl and brctl for Ubuntu's apt.

Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
---
 docs/samples/qemu-ifup | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/samples/qemu-ifup b/docs/samples/qemu-ifup
index 4538b65..8fbf700 100755
--- a/docs/samples/qemu-ifup
+++ b/docs/samples/qemu-ifup
@@ -1,14 +1,13 @@
-vi /etc/qemu-ifup
 #!/bin/sh
 set -x
 
 switch=virbr0
 
 if [ -n "$1" ];then
-        /usr/bin/sudo /usr/sbin/tunctl -u `whoami` -t $1
+        /usr/bin/sudo /usr/bin/tunctl -u `whoami` -t $1
         /usr/bin/sudo /sbin/ip link set $1 up
         sleep 0.5s
-        /usr/bin/sudo /usr/sbin/brctl addif $switch $1
+        /usr/bin/sudo /sbin/brctl addif $switch $1
         exit 0
 else
         echo "Error: no interface specified"
-- 
2.18.0

             reply	other threads:[~2018-09-21  4:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21  4:17 x-fn-spp [this message]
2018-09-25  8:35 ` Yasufumi Ogawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201809210417.w8L4H25D018075@imss03.silk.ntt-tx.co.jp \
    --to=x-fn-spp@sl.ntt-tx.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=spp@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).