#!/bin/bash
MAPS="/etc/sl-sensors.conf"
#cat $MAPS |awk -F: '{print $1" "$(NF-1)" off"}'
CNT=1
for LINE in `cat $MAPS |awk -F: '{print $(NF-1)}'|sed s/" "/"_"/g`
do
#WRK=`echo $LINE |sed s/"_"/" "/g`
WRK=$LINE
echo $CNT $WRK off
CNT=`expr $CNT + 1`
done
