summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)Author
2014-11-04Honour tty field in /etc/inittabMichel Stam
The problem was caused by procd not opening /dev/tty* (whichever was specified for the ID field /etc/inittab), causing /proc/PID/fd to point to /dev/console instead. This is a rework of e63051d9, which did not initialise the console pointer and did not check the tty pointer in askconsole. askfirst was not completely fixed as it expected the console parameter on the commandline, which is no longer necessary because procd opens the console prior to fork()-ing. Signed-off-by: Michel Stam <m.stam@fugro.nl>
2014-11-01Revert "Honour tty field in /etc/inittab"Steven Barth
This reverts commit e63051d9843ddbafb1fabfd97d60e853bdeac129. This unbreaks the initial console on UML and possibly other platforms. Signed-off-by: Steven Barth <cyrus@openwrt.org>
2014-10-31Fix regression in command line parsingSteven Barth
79872ea6 reduced the command line buffer breaking various platforms. Signed-off-by: Steven Barth <steven@midlink.org>
2014-10-12minor fixes to michels patchesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2014-10-12Honour tty field in /etc/inittabMichel Stam
The problem was caused by procd not opening /dev/tty* (whichever was specified for the ID field /etc/inittab), causing /proc/PID/fd to point to /dev/console instead. Signed-off-by: Michel Stam <m.stam@fugro.nl>
2014-10-12Use one generic routine to access /proc/cmdlineMichel Stam
Signed-off-by: Michel Stam <m.stam@fugro.nl>
2013-11-19make ue of the md5.c inside libuboxJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2013-11-15debloat and reorganize codeJohn Crispin
split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org>