From 1ce48765a5cece7f7d44b62fcee6788bad0a3a3c Mon Sep 17 00:00:00 2001 From: hayao Date: Wed, 29 Apr 2020 17:50:59 +0900 Subject: [PATCH] [add] : Added scripts. --- channels/lxde/airootfs/etc/profile.d/startx.sh | 3 +++ channels/plasma/airootfs/etc/profile.d/startx.sh | 3 +++ channels/xfce/airootfs/etc/profile.d/startx.sh | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 channels/lxde/airootfs/etc/profile.d/startx.sh create mode 100644 channels/plasma/airootfs/etc/profile.d/startx.sh create mode 100644 channels/xfce/airootfs/etc/profile.d/startx.sh diff --git a/channels/lxde/airootfs/etc/profile.d/startx.sh b/channels/lxde/airootfs/etc/profile.d/startx.sh new file mode 100644 index 00000000..a4d98be1 --- /dev/null +++ b/channels/lxde/airootfs/etc/profile.d/startx.sh @@ -0,0 +1,3 @@ +if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then + exec startx +fi \ No newline at end of file diff --git a/channels/plasma/airootfs/etc/profile.d/startx.sh b/channels/plasma/airootfs/etc/profile.d/startx.sh new file mode 100644 index 00000000..a4d98be1 --- /dev/null +++ b/channels/plasma/airootfs/etc/profile.d/startx.sh @@ -0,0 +1,3 @@ +if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then + exec startx +fi \ No newline at end of file diff --git a/channels/xfce/airootfs/etc/profile.d/startx.sh b/channels/xfce/airootfs/etc/profile.d/startx.sh new file mode 100644 index 00000000..a4d98be1 --- /dev/null +++ b/channels/xfce/airootfs/etc/profile.d/startx.sh @@ -0,0 +1,3 @@ +if [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then + exec startx +fi \ No newline at end of file -- 2.11.0