X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=conf_files%2Fpl_netinit;h=3d5ea77bf5b3202818bd37deff15d525157e9257;hb=0eb81317d08a905f6cc287d00f947fd7eac359c9;hp=cd48730e414c4e7b73c5aa387d1f938d59958c29;hpb=92ff38cc2d55318d58d5be21c54b12970a98448a;p=bootcd.git 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