aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/ccwgroup.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
committerRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
commitac9279cc0d5a00bc17908b2914941186020cd3ce (patch)
tree850a4fe19917113e75bfd2e79d00b58208468503 /net.Linux/ccwgroup.sh
parent444f23e2d158389b22d40537fc9b027d9f575229 (diff)
Massive whitespace cleanup
Diffstat (limited to 'net.Linux/ccwgroup.sh')
-rw-r--r--net.Linux/ccwgroup.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/net.Linux/ccwgroup.sh b/net.Linux/ccwgroup.sh
index 8fc4ce90..ed70bb54 100644
--- a/net.Linux/ccwgroup.sh
+++ b/net.Linux/ccwgroup.sh
@@ -33,9 +33,9 @@ ccwgroup_pre_start() {
local ccwgroup="$(_get_array "ccwgroup_${IFVAR}")"
[ -z "${ccwgroup}" ] && return 0
- if [ ! -d /sys/bus/ccwgroup ] ; then
+ if [ ! -d /sys/bus/ccwgroup ]; then
modprobe qeth
- if [ ! -d /sys/bus/ccwgroup ] ; then
+ if [ ! -d /sys/bus/ccwgroup ]; then
eerror "ccwgroup support missing in kernel"
return 1
fi
@@ -47,7 +47,7 @@ ccwgroup_pre_start() {
[ -z "${first}" ] && first=${x}
ccw="${ccw}${ccw:+,}${x}"
done
- if [ -e /sys/devices/qeth/"${first}" ] ; then
+ if [ -e /sys/devices/qeth/"${first}" ]; then
echo "0" > /sys/devices/qeth/"${first}"/online
else
echo "${ccw}" > /sys/bus/ccwgroup/drivers/qeth/group
@@ -65,8 +65,8 @@ ccwgroup_pre_stop() {
[ ! -L /sys/class/net/"${FACE}"/driver ] && return 0
local driver="$(readlink /sys/class/net/"${IFACE}"/driver)"
case "${diver}" in
- */bus/ccwgroup/*) ;;
- *) return 0 ;;
+ */bus/ccwgroup/*);;
+ *) return 0;;
esac
local device="$(readlink /sys/class/net/"${IFACE}"/device)"