diff options
author | Dan Horák <dan@danny.cz> | 2010-03-25 15:45:08 +0100 |
---|---|---|
committer | Dan Horák <dan@danny.cz> | 2010-03-25 15:45:08 +0100 |
commit | 3fe1387c74899eebfe3e4a5b6714b8996eae4f5f (patch) | |
tree | ad9ff6c0b94b939ae67e5df8add3742f3114b299 | |
parent | 6510534606c3940390873580fca0b70cae4eea35 (diff) | |
download | utils-3fe1387c74899eebfe3e4a5b6714b8996eae4f5f.tar.gz utils-3fe1387c74899eebfe3e4a5b6714b8996eae4f5f.tar.xz utils-3fe1387c74899eebfe3e4a5b6714b8996eae4f5f.zip |
import 20100204
-rw-r--r-- | device_cio_free | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/device_cio_free b/device_cio_free index a17662b..557427a 100644 --- a/device_cio_free +++ b/device_cio_free @@ -145,7 +145,9 @@ if [ $MODE = "dasd" ]; then sed -e 's/.*[[:space:]]dasd=\([^[:space:]]*\).*/\1/' -e 's/([^)]*)//g' \ -e 's/nopav\|nofcx\|autodetect\|probeonly//g' -e 's/,,/,/g' -e 's/^,//' -e 's/,$//') - free_device $DEVICES + for DEVRANGE in $(echo $DEVICES | tr ',' ' '); do + free_device $DEVRANGE + done fi if [ $MODE = "znet" ]; then |