dom0: minor init.d script fix

This commit is contained in:
Marek Marczykowski 2012-06-22 01:22:06 +02:00
parent ffa3d8732c
commit 24352c3dce

View File

@ -56,7 +56,7 @@ start()
# Hide mounted devices from qubes-block list (at first udev run, only / is mounted) # Hide mounted devices from qubes-block list (at first udev run, only / is mounted)
for dev in `xenstore-list /local/domain/0/qubes-block-devices`; do for dev in `xenstore-list /local/domain/0/qubes-block-devices`; do
( eval `udevadm info -q property -n $dev|sed -e 's/\([^=]*\)=\(.*\)/export \1="\2"/'`; ( eval `udevadm info -q property -n $dev|sed -e 's/\([^=]*\)=\(.*\)/export \1="\2"/'`;
/usr/lib/qubes/block_add_change /usr/lib/qubes/block_add_change > /dev/null
) )
done done