#!/bin/sh

config_file="/etc/hwtest.d/$1.ini"

if [ "$1" = "hwtest" ]; then
    temp_file=`tempfile -m 0644 -p $1`

    awk '{ print }; /transport_url/ { print "timeout = 120" }' <$config_file >$temp_file
    mv -f $temp_file $config_file
fi
