Kann diese Option nirgendwo finden, würde aber gerne bei meinem Pingulux immer die Uhr anzeigen anstatt den Sendernamen.
Geht das irgendwie?
Kann diese Option nirgendwo finden, würde aber gerne bei meinem Pingulux immer die Uhr anzeigen anstatt den Sendernamen.
Geht das irgendwie?
ich habe dazu mal ein script geschrieben und hier im Board veröffentlicht
Danke!
Ich habe es etwas angepasst und gleich einen no-ip.org updater mit eingebaut, falls das jemand mal sucht:
Code:#!/bin/sh# updates time into the display of your stb instead of channel names (by harryhase - http://tinyurl.com/opgermc) # updates your no-ip account every ~5min (by AntonioCS - https://github.com/AntonioCS/no-ip.com-bash-updater) i=1 while [ 1 -le 2 ] do h1=`date | cut -c12-12` h2=`date | cut -c13-13` m1=`date | cut -c15-15` m2=`date | cut -c16-16` ss=`date | cut -c18-19` if [ "$ss" -gt "45" ] && [ "$m2" -ne "9" ]; then echo $h1$h2:$m1$m2:$ss let "m2 += 1" fi echo $h1$h2.$m1$m2 > /dev/vfd #no-ip.org updater: i=$(( i + 1 )) if [ "$i" -gt "15" ]; then # No-IP uses emails as passwords, so make sure that you encode the @ as %40 USERNAME= PASSWORD= HOST= LOGFILE=/usr/noip/noip.log LOGFILEwget=/usr/noip/noipwget.log STOREDIPFILE=/usr/noip/current_ip USERAGENT="Simple Bash No-IP Updater/0.4 antoniocs@gmail.com" if [ ! -e $STOREDIPFILE ]; then touch $STOREDIPFILE fi NEWIP=$(wget -O - http://icanhazip.com/ -q) STOREDIP=$(cat $STOREDIPFILE) if [ "$NEWIP" != "$STOREDIP" ]; then RESULT=$(wget -O "$LOGFILEwget" --user-agent="$USERAGENT" --no-check-certificate "http://$USERNAME:$PASSWORD@dynupdate.no-ip.com/nic/update?hostname=$HOST&myip=$NEWIP") LOGLINE=" [$(date +"%Y-%m-%d %H:%M:%S")] Update $NEWIP" echo $NEWIP > $STOREDIPFILE fi echo $LOGLINE >> $LOGFILE i=1 fi #end no-ip.org updater sleep 21 done
Geändert von portion (25.02.2014 um 01:20 Uhr) Grund: ##
Danke können einige sicher gut gebrauchen.