summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-10-12 14:40:19 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-10-12 14:40:19 -0300
commitbfef0bc1eb397dd2a2f8a67460df78fe7ab3a964 (patch)
tree67ce48441779d8073ef6d444c5e33054cb0daa30 /archiso
parent1dcf439c30bac6485965a0cd899de74db2f2ef39 (diff)
downloadarchiso32-bfef0bc1eb397dd2a2f8a67460df78fe7ab3a964.tar.xz
[archiso] Unify ->
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso_pxe_nbd4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiso/hooks/archiso_pxe_nbd b/archiso/hooks/archiso_pxe_nbd
index e3e27e7..cc21c2b 100644
--- a/archiso/hooks/archiso_pxe_nbd
+++ b/archiso/hooks/archiso_pxe_nbd
@@ -8,10 +8,10 @@ run_hook () {
if [ -n "${BOOTIF}" ]; then
bootif_mac=${BOOTIF#01-}
bootif_mac=${bootif_mac//-/:}
- bootif_dev=$(grep -l $bootif_mac /sys/class/net/*/address)
+ bootif_dev=$(grep -l ${bootif_mac} /sys/class/net/*/address)
bootif_dev=${bootif_dev#/sys/class/net/}
bootif_dev=${bootif_dev%/address}
- ip="$ip::$bootif_dev"
+ ip="${ip}::${bootif_dev}"
fi
# setup network and save some values