Skip to content

Commit f62110a

Browse files
committed
changed formatting to be more like inittab
Signed-off-by: Zen <[email protected]>
1 parent b670ed6 commit f62110a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ugrd/base/console.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@ def console_init(self):
2727

2828
out_str = f"agetty --autologin root --login-program {self.config_dict['_custom_init_file']}"
2929

30-
out_str += f" {name}"
31-
3230
console_type = console.get('type', 'tty')
3331

3432
if console_type != 'tty':
3533
# This differs from usage in the man page but seems to work?
3634
out_str += f" --local-line {console['baud']}"
3735

38-
out_str += f" {console_type}"
36+
out_str += f" {name} {console_type}"
3937

4038
return out_str
4139

0 commit comments

Comments
 (0)