Index: drbl-virt/sbin/drbl_xen_patch.sh
===================================================================
--- drbl-virt/sbin/drbl_xen_patch.sh	(revision 175)
+++ drbl-virt/sbin/drbl_xen_patch.sh	(revision 176)
@@ -80,22 +80,22 @@
 cat <<EOF >/usr/lib/mkpxeinitrd-net/initrd-skel/bin/start_xen_bridge.sh
 # drbl-virt add
-NICs=$(/sbin/ifconfig | grep eth | awk '{print $1}')
-declare -i NICs_nu=$(echo $NICs |wc -l)
+NICs=\$(/sbin/ifconfig | grep eth | awk '{print \$1}')
+declare -i NICs_nu=\$(echo \$NICs |wc -l)
 NIC=""
 
-if [ $NICs_nu -lt 1  ];
-    for (( i=0 ; i<$NICs_nu ; i++ ))
+if [ \$NICs_nu -lt 1  ];
+    for (( i=0 ; i<\$NICs_nu ; i++ ))
     do
-        NIC_IP=$(ifconfig eth${i} | grep "inet addr" | sed 's/inet addr://g' | sed 's/Bcast.*$//g')
-        if [ -n $NIC_IP ]; then
-            NIC="eth${i}"
+        NIC_IP=\$(ifconfig eth\${i} | grep "inet addr" | sed 's/inet addr://g' | sed 's/Bcast.*$//g')
+        if [ -n \$NIC_IP ]; then
+            NIC="eth\${i}"
             break
         fi
     done
 else
-    NIC=$NICS
+    NIC=\$NICS
 fi
 
-sh /bin/network-bridge start netdev=$NIC
+sh /bin/network-bridge start netdev=\$NIC
 EOF
 # backup
