From 185ae295aebb895709ce46c1290154b53da9fc18 Mon Sep 17 00:00:00 2001 From: Dan HorĂ¡k Date: Wed, 28 Apr 2010 09:03:01 +0200 Subject: remove printing of debug information --- ccw_init | 16 ---------------- 1 file changed, 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 -- cgit