summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Horák <dan@danny.cz>2010-04-28 09:03:01 +0200
committerDan Horák <dan@danny.cz>2010-04-28 09:03:01 +0200
commit185ae295aebb895709ce46c1290154b53da9fc18 (patch)
tree43df34a3fb8e9095ec1e170faa0d566e1796f648
parent35e726e6375a0a15f39a72d79470611f0706d8e4 (diff)
downloadutils-185ae295aebb895709ce46c1290154b53da9fc18.tar.gz
utils-185ae295aebb895709ce46c1290154b53da9fc18.tar.xz
utils-185ae295aebb895709ce46c1290154b53da9fc18.zip
remove printing of debug information
-rw-r--r--ccw_init16
1 files changed, 0 insertions, 16 deletions
diff --git a/ccw_init b/ccw_init
index 34483e9..ae2c661 100644
--- a/ccw_init
+++ b/ccw_init
@@ -1,10 +1,5 @@
#! /bin/sh
-debug()
-{
- echo "$$: $1" >> /tmp/ccw_init.log
-}
-
[ -z "$DEVPATH" ] && exit 0
[ "$SUBSYSTEM" != "ccw" ] && exit 0
@@ -58,8 +53,6 @@ elif [ $MODE = "normal" ]; then
CONFIG_FILE=$(get_config_by_subchannel $CHANNEL)
- debug "CONFIG_FILE=$CONFIG_FILE"
-
if [ -n "$CONFIG_FILE" ]; then
. $CONFIG_FILE
else
@@ -99,15 +92,6 @@ if [ "$NETTYPE" = "ctc" -a -n "$CTCPROT" ]; then
OPTIONS="$OPTIONS protocol=$CTCPROTO"
fi
-debug "MODE=$MODE"
-debug "CHANNEL=$CHANNEL"
-debug "SUBCHANNELS=$SUBCHANNELS"
-debug "ORIG_OPTIONS=$ORIG_OPTIONS"
-debug "LAYER2=$LAYER2"
-debug "OPTIONS=$OPTIONS"
-debug "PORTNAME=$PORTNAME"
-debug "NETTYPE=$NETTYPE"
-
# SUBCHANNELS is only set on mainframe ccwgroup devices
[ -z "$SUBCHANNELS" -o -z "$NETTYPE" ] && exit 0
if [ "$NETTYPE" = "ctc" ]; then