for future virtio support, checking virtio disks too (sneak this in along with other...
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Fri, 14 Jan 2011 14:35:44 +0000 (15:35 +0100)
committerS.Çağlar Onur <caglar@verivue.com>
Tue, 8 Mar 2011 22:44:31 +0000 (17:44 -0500)
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