summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu-init-scripts/files/qtap-manipulate4
-rw-r--r--app-emulation/qemu-init-scripts/qemu-init-scripts-0.2.ebuild (renamed from app-emulation/qemu-init-scripts/qemu-init-scripts-0.1.ebuild)0
2 files changed, 1 insertions, 3 deletions
diff --git a/app-emulation/qemu-init-scripts/files/qtap-manipulate b/app-emulation/qemu-init-scripts/files/qtap-manipulate
index 426bc78..41ab0ca 100644
--- a/app-emulation/qemu-init-scripts/files/qtap-manipulate
+++ b/app-emulation/qemu-init-scripts/files/qtap-manipulate
@@ -12,9 +12,7 @@ has() {
}
find_available_node() {
- local val=$(ifconfig -a | grep -i ^qtap | cut -d ' ' -f1)
- # Strip off ifconfig appended ':'
- val="${val%:}"
+ local val=$(ifconfig -a | grep -i ^qtap | cut -d: -f1)
local pos=0
while has qtap${pos} $val; do
pos=$(( $pos + 1 ))
diff --git a/app-emulation/qemu-init-scripts/qemu-init-scripts-0.1.ebuild b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.2.ebuild
index c3b2b60..c3b2b60 100644
--- a/app-emulation/qemu-init-scripts/qemu-init-scripts-0.1.ebuild
+++ b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.2.ebuild