diff options
Diffstat (limited to 'device_cio_free')
-rw-r--r-- | device_cio_free | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device_cio_free b/device_cio_free index 381c0a0..80e9451 100644 --- a/device_cio_free +++ b/device_cio_free @@ -49,7 +49,7 @@ free_device() [ -z "$1" ] && return - DEV_LIST=$(echo "$1" | tr "A-Z" "a-z" | sed 's/,/ /g') + DEV_LIST=$(echo "$1" | sed 'y/ABCDEF/abcdef/' | sed 's/,/ /g') for DEV in $DEV_LIST; do [ $VERBOSE ] && echo "Freeing device(s) $DEV" @@ -245,7 +245,7 @@ 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/,$//') - for DEVRANGE in $(echo $DEVICES | tr ',' ' '); do + for DEVRANGE in $(echo $DEVICES | sed 's/,/ /g'); do free_device $DEVRANGE done fi |