eisbaerin
IPPF-Urgestein
- Mitglied seit
- 29 Sep 2009
- Beiträge
- 11,377
- Punkte für Reaktionen
- 1,065
- Punkte
- 113
Das heißt also meine FB arbeitet viel zu schnell(wenn dazwischen nicht zufällig die Sekunde gewechselt hatte)
Danke. Bei mir geht es schon von 0.3.0 bis .0.3.7ich werde die mal um 0.1 erhöhen
vidar:/home/GitHub/YourFritz # git whatchanged juis/juis_check | cat
commit 2531462badc155b297bb1189e78a3380fc099ca5
Author: YourFritz <[email protected]>
Date: Wed Jan 24 14:35:52 2018 +0100
circumvent 'dd' usage, create a file containing 32 bytes of NUL with exponential copy
:100755 100755 7dd80f2... 8044663... M juis/juis_check
commit ebe8054ce71b7a7710381e7682dd9c51526f4ad2
Author: YourFritz <[email protected]>
Date: Wed Jan 24 14:21:31 2018 +0100
incremented version number - suggested by @Joe_57 on IPPF
:100755 100755 f2fcaae... 7dd80f2... M juis/juis_check
commit a5093de2e0d69558eeba74d4390008750fe0e4cf
Author: YourFritz <[email protected]>
Date: Wed Jan 24 11:45:33 2018 +0100
replace 'stat' (non-POSIX) with 'wc -c' (POSIX)
:100755 100755 64b7d78... f2fcaae... M juis/juis_check
commit cc93d06ffe3c77fc613db3261f14e9b8c9edfa33
Author: YourFritz <[email protected]>
Date: Wed Jan 24 03:22:03 2018 +0100
claim MacOS X compatibility again
:100755 100755 80be01f... 64b7d78... M juis/juis_check
commit 06fcb2676d5cf25b9326e75fb50e25c30c473ac8
Author: YourFritz <[email protected]>
Date: Wed Jan 24 01:56:27 2018 +0100
even more POSIX compliance
- 'mkfifo' is part of standards, but it may not be present on a
FRITZ!Box device with the original BusyBox from AVM and in this
case 'mknod' will be used as alternative
- remove some unused sub-functions, imported in the past from framework
- add command alternatives to prerequisites check
:100755 100755 82ac3a0... 80be01f... M juis/juis_check
commit eff2ba9bde17389fddb29630b34da70e6eb35783
Author: YourFritz <[email protected]>
Date: Wed Jan 24 01:36:40 2018 +0100
replace unused message definitions
:100755 100755 bde3f95... 82ac3a0... M juis/juis_check
commit 2bf0cecf99fc1af9b218c6ac2b274c770ab09d9d
Author: YourFritz <[email protected]>
Date: Wed Jan 24 01:08:11 2018 +0100
various changes to be more POSIX-compliant
- remove all 'local' statements, it's not in the standards, even if
nearly each shell supports it
- convert most sub-functions to sub-shell calls (and change 'return'
to 'exit') to make variables 'local' again
- do not use '/dev/urandom' and 'base64' anymore, replaced them with
'date', 'cmp' and inline Base64 encoding of current time and date
as nonce - not really unpredictable, but good enough for our needs
- replace 'procfs'-based search for PIDs with 'kill -0' like in the
'good old times'
- try 'realpath' to pretty-print filenames, but do not rely on its
existence
:100755 100755 a94c3ce... bde3f95... M juis/juis_check
commit b890667b2d5089ee552a3e6635808a92c8ff014d
Author: YourFritz <[email protected]>
Date: Tue Jan 23 13:10:06 2018 +0100
removed the claim to support MacOS X, it lacks procfs support and needs another solution
:100755 100755 a2ae43e... a94c3ce... M juis/juis_check
commit d95c8f40a48a574de3828537ff25596caf4feece
Author: YourFritz <[email protected]>
Date: Wed Jan 3 03:53:07 2018 +0100
handling of 'empty' keyword was a little bit wrong
:100755 100755 2907e05... a2ae43e... M juis/juis_check
commit 911a06d5674acbff1e3d8722becef8b18582c73f
Author: YourFritz <[email protected]>
Date: Wed Jan 3 01:21:08 2018 +0100
unknown option handling added again
:100755 100755 2211461... 2907e05... M juis/juis_check
commit b17797080d174375e9797fc8d451dbd545526e38
Author: YourFritz <[email protected]>
Date: Tue Jan 2 11:14:38 2018 +0100
protect $check against unexpected content, it's only a 2nd line of defense
:100755 100755 1f58780... 2211461... M juis/juis_check
commit 4dd9d10e3f7ecc2ff6cfab84a062e534e6b2e101
Author: YourFritz <[email protected]>
Date: Tue Jan 2 10:46:59 2018 +0100
limit language check to one line, if LC_ALL or LANG contains a new-line character
:100755 100755 ea512b0... 1f58780... M juis/juis_check
commit d9735d578257ac4964850d53328888b9dd21820c
Author: YourFritz <[email protected]>
Date: Tue Jan 2 04:01:19 2018 +0100
correct 'mktemp' emulation, ensure 'HW' is present
:100755 100755 3e3b2c4... ea512b0... M juis/juis_check
commit 22605b507f0d9b402c5a127821b1e055617ad3ff
Author: YourFritz <[email protected]>
Date: Mon Jan 1 14:27:50 2018 +0100
use only a pager, if STDOUT is a terminal
:100755 100755 f38ce98... 3e3b2c4... M juis/juis_check
commit 81c3a24351c99a680e1586d1ea59ea19940627de
Author: YourFritz <[email protected]>
Date: Sun Dec 31 22:23:11 2017 +0100
reformat lines with tabs
:100755 100755 3e3199b... f38ce98... M juis/juis_check
commit b0ef5049d0b7235417ba48cc7aea2500d098f665
Author: YourFritz <[email protected]>
Date: Sun Dec 31 21:49:43 2017 +0100
remove trailing blanks
:100755 100755 50f4c50... 3e3199b... M juis/juis_check
commit c388cdf378b40c7fef9177edc87ca2aab7bf8d13
Author: YourFritz <[email protected]>
Date: Sun Dec 31 21:20:15 2017 +0100
same name like previous versions, default config files not needed anymore
:000000 100755 0000000... 50f4c50... A juis/juis_check
vidar:/home/GitHub/YourFritz #
vidar:/home/GitHub/YourFritz # wget -q -O - https://api.github.com/repos/PeterPawn/YourFritz/commits/master | sed -n -e "/\"sha\"/p" | sed -n -e "1s|.*\"sha\": \"\([^\"]*\)\".*|\1|p"
2531462badc155b297bb1189e78a3380fc099ca5
vidar:/home/GitHub/YourFritz #
$ ./juis_check -d
debug: Verarbeiten der Konfigurationsdatei '/home/xxxxx/tmp/juis_check.cfg' mit folgendem Inhalt:
debug: -------------------------------------------------------
Public=1
Name="FRITZ!Box\ 6430\ Cable"
HW=231
Version=159.06.83-44526
Serial=12
OEM=avm
Lang=de
Annex=Kabel
Country=049
Flag=cable_retail
Box=192.168.xxx.100
debug: -------------------------------------------------------
debug: Ende der Verarbeitung der Konfigurationsdatei
debug: Zusammengesetzte Versionsnummer für die Prüfung: '0.00.00-'
debug: -------------------------------------------------------
debug: Werte der Variablen:
debug: -------------------------------------------------------
debug: Serial="12"
debug: Name="FRITZ!Box\ 6430\ Cable"
debug: HW="231"
debug: OEM="avm"
debug: Lang="de"
debug: Annex="Kabel"
debug: Country="049"
debug: Major=""
debug: Minor=""
debug: Patch=""
debug: Buildnumber=""
debug: Flag="cable_retail"
debug: Public="1"
debug: type="1001"
debug: hostname="231.jws.avm.de"
debug: nonce="MTY6MDQ6NTUwMy8wOC8xOA=="
debug: -------------------------------------------------------
./juis_check -d -i HW=231 Version=159.06.83-44526 Serial=12 Name=6430 OEM=avm Lang=de Annex=Kabel Country=049 Flag=cable_retail
Box=fritz.box
Public=0
vidar:~ # juis_check fb7490 Version=113.06.98-00000 Public=0
~/juis_check: Found newer version: 113.06.98-53124 Inhaus
URL=ftp://[email protected]/<somewhere>/FRITZ.Box_7490.113.06.98-53124.image
DelayDownload=783
Ich vermute ja immer noch, daß AVM das "pro Firmware" entscheiden kann, welche Voraussetzungen erfüllt sein müssen, damit eine neue Version auf diesem Wege "verkündet" wird und das ist offenbar (so erkläre ich es mir zumindest) bei der 06.98 so eingestellt, daß nur von einer solchen Version beginnend die "inhouse"-Versionen annonciert werden.Früher hatte mir der einfache Wechsel zwischen Public=0/1 gereicht.