@jonli, thanks for the special
@Eric, thanks for the details of the update process!
Well, with Heinz script I think, understanding the updater becomes less important. The standard updater works for our needs (we know how to enable telnet and get our own updates on the box). On the other side. There's no harm to get and understand as much information as possible. Anyway without a box there is little that I can acutally do at the moment. So another look at the updater:
At 0040c480 starts the routine readint the lsupdater.ini file. At least most of it (given are the standard values that are used if the value is not defined in the ini).
Title = Buffalo LS-GL updater
WaitReboot = 180 (0xB4) #Int
WaitFormat = 180 (0xB4) #Int
WaitChange = 180 (0xB4) #Int
Password = password #string; could that be the root-pswd?? Or is it for the (scrambled) rsync
Name = LS-GL # string; name shows up in searching respective not found message window; Must it ma tch the device name?
VersionCheck = 0 #Int
Debug = 0 #Int; enables debug-mode in the updater (via context-menu in title bar)
So three new values (WaitFormat, WaitChange and Debug). If you set Debug to 1 you get a nice new entry in the context menu at the title-bar of the updater. There you can choose if you want to
- update: Kernel, Boot, initrd, rootfs (separately)
- config: version check, rebuild partitition table, delete user config, force update
- destination of firmware: /boot
The first two set of options might make live somewhat easier.