From 2fe6cc1cb45eeaafc79afe0869a365b1c5a0a739 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 4 Apr 2022 03:10:22 -0400 Subject: [PATCH] Clear the screen when applying laptop layout so when Fenrir restarts it is less spammy. --- pi3/files/usr/local/bin/configure-stormux | 1 + pi4/files/usr/local/bin/configure-stormux | 1 + 2 files changed, 2 insertions(+) diff --git a/pi3/files/usr/local/bin/configure-stormux b/pi3/files/usr/local/bin/configure-stormux index 67cccc9..c451c0b 100755 --- a/pi3/files/usr/local/bin/configure-stormux +++ b/pi3/files/usr/local/bin/configure-stormux @@ -9,6 +9,7 @@ if [[ ! -d /opt/configure-stormux ]]; then if [[ "${continue,}" == "y" ]];then sudo sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf sudo systemctl restart fenrirscreenreader.service + clear fi if ! ping -c1 stormux.org &> /dev/null ; then echo "No internet connection detected. Press enter to open NetworkManager." diff --git a/pi4/files/usr/local/bin/configure-stormux b/pi4/files/usr/local/bin/configure-stormux index 67cccc9..c451c0b 100755 --- a/pi4/files/usr/local/bin/configure-stormux +++ b/pi4/files/usr/local/bin/configure-stormux @@ -9,6 +9,7 @@ if [[ ! -d /opt/configure-stormux ]]; then if [[ "${continue,}" == "y" ]];then sudo sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf sudo systemctl restart fenrirscreenreader.service + clear fi if ! ping -c1 stormux.org &> /dev/null ; then echo "No internet connection detected. Press enter to open NetworkManager."