summaryrefslogtreecommitdiff
path: root/daemons/getty.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-03-05 23:36:53 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-08 00:54:24 +0200
commite3e9ecc13566b8ac9f6f9eb4a1afcfc55c6172d3 (patch)
tree95271483e62309cfe9bd696acc4d2358a2460f32 /daemons/getty.c
parent747ae893a63eb6d0501a06f8f675eeb0da8ae560 (diff)
console-run: Create and settrans /dev/console when not already done.
This patch makes sure /libexec/console-run creates and installs /dev/console on the first run without considering it a failure if it didn't exist already. * daemons/console-run.c (TERMINAL_FIRST_TRY): Change node to `/dev/console'. (TERMINAL_SECOND_TRY): Change node to `/tmp/console'. (open_console): Clear FALLBACK when TRY == 1 and the `file_set_translator' call suceeded.
Diffstat (limited to 'daemons/getty.c')
0 files changed, 0 insertions, 0 deletions