diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-03-05 23:36:53 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-08 00:54:24 +0200 |
commit | e3e9ecc13566b8ac9f6f9eb4a1afcfc55c6172d3 (patch) | |
tree | 95271483e62309cfe9bd696acc4d2358a2460f32 /libports | |
parent | 747ae893a63eb6d0501a06f8f675eeb0da8ae560 (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 'libports')
0 files changed, 0 insertions, 0 deletions