git://git.onelab.eu
/
bootcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for future virtio support, checking virtio disks too (sneak this in along with other...
[bootcd.git]
/
initscripts
/
pl_netinit
diff --git
a/initscripts/pl_netinit
b/initscripts/pl_netinit
index
a53e3cd
..
0ee8325
100755
(executable)
--- a/
initscripts/pl_netinit
+++ b/
initscripts/pl_netinit
@@
-128,8
+128,8
@@
find_node_config()
# devices
shopt -s nullglob
# devices
shopt -s nullglob
- for device in /sys/block/[hs]d*; do
- removable=
`cat $device/removable`
+ for device in /sys/block/[hs
v
]d*; do
+ removable=
$(cat $device/removable)
if [[ $removable -ne 1 ]]; then
continue
fi
if [[ $removable -ne 1 ]]; then
continue
fi