summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/systemd-pager.sh
blob: 86e3e0ab78176c209781fb41e3a6f09f4ed90cd7 (plain)
1
2
3
4
5
6
7
# Systemd expect a color capable pager, however the less provided
# by busybox is not. This make many interaction with systemd pretty
# annoying. As a workaround we disable the systemd pager if less
# is not the GNU version.
if ! less -V > /dev/null 2>&1 ; then
	export SYSTEMD_PAGER=
fi