From: Marc Fiuczynski Date: Wed, 22 Nov 2006 19:16:36 +0000 (+0000) Subject: Also check readonly hd* devices (e.g., compact flash) as a source for X-Git-Tag: bootcd-3.4-2~52 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b1c3362463e8bd4f08a06e7d27da86aaef98bc81;p=bootcd.git Also check readonly hd* devices (e.g., compact flash) as a source for plnode.txt. --- diff --git a/conf_files/pl_netinit b/conf_files/pl_netinit index cd48730..3d5ea77 100644 --- a/conf_files/pl_netinit +++ b/conf_files/pl_netinit @@ -125,11 +125,11 @@ find_node_config() echo "pl_netinit: looking for node configuration file on flash based devices" - # make the sd* expansion fail to an empty string if there are no sd + # make the sd* hd* expansion fail to an empty string if there are no sd # devices shopt -s nullglob - for device in /sys/block/sd*; do + for device in /sys/block/[hs]d*; do removable=`cat $device/removable` if [[ $removable -ne 1 ]]; then continue