aboutsummaryrefslogtreecommitdiff
path: root/toys/example/demo_many_options.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-08-11 12:17:13 -0700
committerRob Landley <rob@landley.net>2020-08-12 04:52:51 -0500
commit32b8a54ca2c08d54447917c80a5a6311932004e5 (patch)
treea01a695663da3aa2410c644f2f22c0221bee712c /toys/example/demo_many_options.c
parent98943e25c8d24423c74e4a31d70f274c78e35e51 (diff)
downloadtoybox-32b8a54ca2c08d54447917c80a5a6311932004e5.tar.gz
getty: ensure utmp is updated.
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.
Diffstat (limited to 'toys/example/demo_many_options.c')
0 files changed, 0 insertions, 0 deletions