X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_netinit;h=0fa960aa5d791663bafdc741683007dc5cd4f790;hb=f2e76fa67923cef261dd5182226f8612fb453e62;hp=914d0911d027016b6c977a930527fdcff32cac8c;hpb=9a0d144671f1b40cc27a63ea48a4fa29ecf2f383;p=bootcd.git diff --git a/initscripts/pl_netinit b/initscripts/pl_netinit index 914d091..0fa960a 100755 --- a/initscripts/pl_netinit +++ b/initscripts/pl_netinit @@ -1,4 +1,5 @@ #!/bin/sh +#-*-shell-script-*- # the name of the floppy based network configuration # files (checked first). the name planet.cnf is kept @@ -128,7 +129,7 @@ find_node_config() # devices shopt -s nullglob - for device in /sys/block/[hs]d*; do + for device in /sys/block/[hsv]d*; do removable=$(cat $device/removable) if [[ $removable -ne 1 ]]; then continue