summaryrefslogtreecommitdiff
path: root/recipes-core/base-files/base-files/disable_systemd_coloroutput.sh
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-06-27 17:21:21 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-07-01 14:41:43 +0200
commitd39bc8a5dbf180bedbb7a2ecdc66d5ead8ce6e06 (patch)
tree2686b28de4ec7b6269268b47647a87ff01762c3e /recipes-core/base-files/base-files/disable_systemd_coloroutput.sh
parentc616bfd03c80bf2eec2d8ecf54b15a6d520d3b86 (diff)
base-files: rework /etc/profile
Put the changes we want to make to the default into scripts in /etc/profile.d and keep the openembedded-core provided /etc/profile. This keeps the maintained version of /etc/profile rather than having to manually merge in fixes from the openembedded layer. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-core/base-files/base-files/disable_systemd_coloroutput.sh')
-rw-r--r--recipes-core/base-files/base-files/disable_systemd_coloroutput.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/base-files/base-files/disable_systemd_coloroutput.sh b/recipes-core/base-files/base-files/disable_systemd_coloroutput.sh
new file mode 100644
index 0000000..904ad2b
--- /dev/null
+++ b/recipes-core/base-files/base-files/disable_systemd_coloroutput.sh
@@ -0,0 +1,3 @@
+# disable the colorization of systemd component output
+SYSTEMD_COLORS=0
+export DISPLAY SYSTEMD_COLORS