Apparent fairly inconsequential little typo in setup script, perhaps "just to confuse the Russians"?
While studying the Slackware-64 14.2 'setup' script, I noticed something that looks a little weird to me, and that seems to be a little (and, admittedly, pretty innocent) typo.
Near the end of the script, lines 399 to 403 contain the following dialog command: Code:
dialog \ The same weirdness, by the way, is repeated on the dialog command on lines 405 to 409: Code:
dialog \ |
Quote:
I'm guessing that one of uses for this would be for an automated installer (which alienBOB and I discussed some time ago, and we both had good ideas of how to do it, but not the time) - you have a manual/auto mode; so basically you'd supply the appropriate set of dialog commands to automate default actions such as "Switch RTC check off" -- make it as if the user had pressed "off", etc. It might also have been for some debugging from ages ago. It's probably the latter, to be honest based on what I know of the installer. On automation within the installer (which I'd love to have): of course a new automated path could make its own call outs and it wouldn't need user responses, but then we'd have to write an entirely new code path when it's easier to supply dialog with defaults and use the existing, working one. That code in the installer is all a bit fragile and old style code. When I added that "Reboot your system" thing for ARM, it took me a while to get it working in the right order and even then I did a fair amount of combination testing. After all you didn't want to get in a muddle right before you want to use the OS you just installed! ;-) |
Quote:
Quote:
|
All times are GMT -5. The time now is 07:18 PM. |