diff --git a/zconf/chccwdev b/zconf/chccwdev index b1140c0..2c3ca6a 100755 --- a/zconf/chccwdev +++ b/zconf/chccwdev @@ -429,9 +429,9 @@ for BUSID in $BUSIDLIST; do exit 1 fi if [ "$FORCE" != "" ]; then - echo $FORCE 2>&1 >$SYSPATH/$ONLINEATTR | PrintError + echo -n $FORCE 2>&1 >$SYSPATH/$ONLINEATTR | PrintError else - echo $ONLINE 2>&1 > $SYSPATH/$ONLINEATTR | PrintError + echo -n $ONLINE 2>&1 > $SYSPATH/$ONLINEATTR | PrintError fi # diff --git a/zconf/dasdstat b/zconf/dasdstat index 8303882..6c64616 100755 --- a/zconf/dasdstat +++ b/zconf/dasdstat @@ -273,7 +273,7 @@ function enable_stat() { echo "$CMD: Statistic \"$myfile\" does not exist" >&2 return fi - if echo on > "$myfile" + if echo -n on > "$myfile" then echo "enable statistic \"$myfile\"" else @@ -288,7 +288,7 @@ function disable_stat() { echo "$CMD: Statistic \"$myfile\" does not exist" >&2 return fi - if echo off > "$myfile" + if echo -n off > "$myfile" then echo "disable statistic \"$myfile\"" else @@ -303,7 +303,7 @@ function reset_stat() { echo "$CMD: Statistic \"$myfile\" does not exist" >&2 return fi - if echo reset > "$myfile" + if echo -n reset > "$myfile" then echo "reset statistic \"$myfile\"" else diff --git a/zconf/lsdasd b/zconf/lsdasd index 26ac0b4..e95735e 100755 --- a/zconf/lsdasd +++ b/zconf/lsdasd @@ -109,7 +109,7 @@ function listDASDDeviceDirectories() { SEARCHDIRS="$SEARCHDIRS $DRIVERFBA" fi if [[ -n "$SEARCHDIRS" ]]; then - find $SEARCHDIRS -type l -printf "%h/%l\n" 2> /dev/null + find $SEARCHDIRS -type l -exec readlink -f {} \; 2> /dev/null else # The above paths may become invalid in the future, so we keep the # following query as backup: