diff options
author | Bill Nottingham <notting@redhat.com> | 2009-02-06 15:37:46 -0500 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-05-04 16:05:05 +0200 |
commit | 781b334da9721e37fa75a1d3ea415774867d32e2 (patch) | |
tree | 5a2c4994ce09771e8865383a8a96996cbbdeca1b /src | |
parent | 4ebc49e3c1720fe8a17286a4fbb2d9ac71b94bb6 (diff) | |
download | initscripts-781b334da9721e37fa75a1d3ea415774867d32e2.tar initscripts-781b334da9721e37fa75a1d3ea415774867d32e2.tar.gz initscripts-781b334da9721e37fa75a1d3ea415774867d32e2.tar.bz2 initscripts-781b334da9721e37fa75a1d3ea415774867d32e2.tar.xz initscripts-781b334da9721e37fa75a1d3ea415774867d32e2.zip |
Don't re-init an existing device, it causes errors. (#484411, <jpayne@redhat.com>)
Diffstat (limited to 'src')
-rwxr-xr-x | src/ccw_init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ccw_init b/src/ccw_init index beeaf8bf..a5009b47 100755 --- a/src/ccw_init +++ b/src/ccw_init @@ -22,7 +22,7 @@ fi [ -z "$SUBCHANNELS" -o -z "$NETTYPE" ] && exit 0 DIR="/sys/bus/ccwgroup/drivers/$NETTYPE" SYSDIR="$DIR/${SUBCHANNELS//,*/}" -[ ! -e $DIR/group ] && exit 0 +[ -e $SYSDIR ] && exit 0 echo "$SUBCHANNELS" > $DIR/group if [ -n "$PORTNAME" ]; then if [ "$NETTYPE" = "lcs" ]; then |