for future virtio support, checking virtio disks too (sneak this in along with other...
Barış Metin [Fri, 14 Jan 2011 14:35:44 +0000 (15:35 +0100)]
initscripts/pl_netinit

index a53e3cd..0ee8325 100755 (executable)
@@ -128,8 +128,8 @@ find_node_config()
     # devices
     shopt -s nullglob
 
-    for device in /sys/block/[hs]d*; do
-       removable=`cat $device/removable`
+    for device in /sys/block/[hsv]d*; do
+       removable=$(cat $device/removable)
        if [[ $removable -ne 1 ]]; then
            continue
        fi