aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/init.c
AgeCommit message (Collapse)Author
2014-01-28init: don't use VT_OPENQRY.Isaac Dunham
The original codepath checks if there is a VT available, and if there isn't sets TERM to vt102 (unless TERM is set to something other than "linux"). Otherwise, TERM is set to "linux" if it is not already set. However, we can rely on getty/... to set TERM if "linux" is not suitable. This has the benefit of dropping a slightly messy section.
2014-01-22-Eradicate (char*) casts for strings.Isaac Dunham
-Don't panic on failure to write messages. -Don't panic on failure to fork; sleep an extra second instead. -s/defualt/default/g -Inline a couple functions called once. (Don't inline inittab_parsing because it is too large).
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in.
2014-01-05Whitespace changes, and collate a couple declarations/first assignment.Rob Landley
2013-08-04System V style init, submitted by Kyungwan Han.Rob Landley