diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-04-28 16:11:59 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-12 10:04:36 +0200 |
commit | 3a7f3cacecb6e12f5fd118ad862a23485e9a8ddb (patch) | |
tree | 1b96fe47aa9719b4b72871ae129652302a16acfc /recipes | |
parent | fe1f0eb79c621452c2a897956a44bf7b92e882a4 (diff) |
base-files: resize console automatic upon login
Use the resize command to set the size of the terminal once upon
login. This is useful for serial console, where the default Unix
signal which takes care of resizing the console (SIGWINCH) is not
available.
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/base-files/base-files/profile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/base-files/base-files/profile b/recipes/base-files/base-files/profile index c1ee240..e6ec6d4 100644 --- a/recipes/base-files/base-files/profile +++ b/recipes/base-files/base-files/profile @@ -31,5 +31,8 @@ export DISPLAY export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM +# Serial consoles are not able to autoresize. Set size once upon login. +resize + umask 022 |