Changeset 37181 for ipk/source.mipsel
- Timestamp:
- 02/18/16 13:00:46 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.mipsel/tools_callmonitor/_path_/usr/local/share/titan/plugins/callmonitor1/fritzbox_msg_new.sh
r37173 r37181 147 147 echo "$NUMMER" 148 148 echo "Searching for $NUMMER in cache file..." 149 if [ ! -f $FRITZ CACHE ]; then touch $FRITZCACHE; fi150 #try to get caller-id via $NUMBER from $FRITZ CACHE151 NAME=`grep $NUMMER $FRITZ CACHE| sed -e "s@$NUMMER\#@@" -e "s@;@\n@g"`149 if [ ! -f $FRITZBUCH ]; then touch $FRITZBUCH; fi 150 #try to get caller-id via $NUMBER from $FRITZBUCH 151 NAME=`grep $NUMMER $FRITZBUCH | sed -e "s@$NUMMER\#@@" -e "s@;@\n@g"` 152 152 ADDRESSE=`echo $NAME | sed -e 's/.*->//g'` 153 153 NAME=`echo $NAME | sed -e 's/->.*//g'` … … 319 319 name=`echo $line | cut -d'<' -f2 | sed s/"title="//g` 320 320 nummer1=`echo $line | cut -d'<' -f7 | sed s/" "//g` 321 help=`echo $line | cut -d'<' -f8 `321 help=`echo $line | cut -d'<' -f8 | cut -c 1-2` 322 322 if [ $help = "br" ]; then 323 323 nummer2=`echo $line | cut -d'<' -f9 | sed s/" "//g` 324 324 pos1=13 325 325 pos2=15 326 help=`echo $line | cut -d'<' -f10 `326 help=`echo $line | cut -d'<' -f10 | cut -c 1-2` 327 327 if [ $help = "br" ]; then 328 328 nummer3=`echo $line | cut -d'<' -f11 | sed s/" "//g` … … 330 330 pos2=17 331 331 pos3=19 332 help=`echo $line | cut -d'<' -f12 `332 help=`echo $line | cut -d'<' -f12 | cut -c 1-2` 333 333 if [ $help = "br" ]; then 334 334 nummer4=`echo $line | cut -d'<' -f13 | sed s/" "//g` … … 358 358 fi 359 359 done < /tmp/curlhelp3.tmp 360 rm /tmp/curlhelp3.tmp 360 361 361 362 else … … 470 471 fi 471 472 done < /tmp/curlhelp6.tmp 472 cp $FRITZBUCH $FRITZCACHE 473 fi 473 rm /tmp/curlhelp6.tmp 474 fi 475 #cp $FRITZBUCH $FRITZCACHE 474 476 fi 475 477 fi
Note: See TracChangeset
for help on using the changeset viewer.