On 8/11/20 2:25 PM, enh via Toybox wrote: > The key issues here turned out to be that getty is responsible for > creating the file if it doesn't exist, and that the -H flag doesn't > control whether utmp is updated, but whether or not to override the > hostname within the utmp entry. > > While I'm here switch to the more modern utx APIs that all the non-pending > parts of toybox use, and remove the duplication.
Applied and pushed, but this reminds me I should really clean this up and promote it. The reason I haven't is I don't really have a test environment for it? (This waits for a modem to dial in to a serial port, adjusts the baud rate, and calls login. I got my first broadband connection in 2001 and haven't owned a modem since.) Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net