Sulogin: try to detect the real device(s) used for the system console

/dev/console if but only if /dev/console is used.  On Linux this can
be more than one device, e.g. a serial line as well as a virtual
console as well as a simple printer.
This commit is contained in:
Werner Fink
2011-04-04 13:57:54 +00:00
parent 4201d1d42f
commit 4301a57e89
4 changed files with 611 additions and 198 deletions

View File

@@ -105,7 +105,7 @@ utmpdump: utmpdump.o
runlevel: runlevel.o
sulogin: LDLIBS += $(SULOGINLIBS) $(STATIC)
sulogin: sulogin.o
sulogin: sulogin.o consoles.o
wall: dowall.o wall.o