Clear the screen when applying laptop layout so when Fenrir restarts it is less spammy.
This commit is contained in:
parent
02913ad280
commit
2fe6cc1cb4
@ -9,6 +9,7 @@ if [[ ! -d /opt/configure-stormux ]]; then
|
|||||||
if [[ "${continue,}" == "y" ]];then
|
if [[ "${continue,}" == "y" ]];then
|
||||||
sudo sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf
|
sudo sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf
|
||||||
sudo systemctl restart fenrirscreenreader.service
|
sudo systemctl restart fenrirscreenreader.service
|
||||||
|
clear
|
||||||
fi
|
fi
|
||||||
if ! ping -c1 stormux.org &> /dev/null ; then
|
if ! ping -c1 stormux.org &> /dev/null ; then
|
||||||
echo "No internet connection detected. Press enter to open NetworkManager."
|
echo "No internet connection detected. Press enter to open NetworkManager."
|
||||||
|
@ -9,6 +9,7 @@ if [[ ! -d /opt/configure-stormux ]]; then
|
|||||||
if [[ "${continue,}" == "y" ]];then
|
if [[ "${continue,}" == "y" ]];then
|
||||||
sudo sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf
|
sudo sed -i 's/=desktop/=laptop/' /etc/fenrirscreenreader/settings/settings.conf
|
||||||
sudo systemctl restart fenrirscreenreader.service
|
sudo systemctl restart fenrirscreenreader.service
|
||||||
|
clear
|
||||||
fi
|
fi
|
||||||
if ! ping -c1 stormux.org &> /dev/null ; then
|
if ! ping -c1 stormux.org &> /dev/null ; then
|
||||||
echo "No internet connection detected. Press enter to open NetworkManager."
|
echo "No internet connection detected. Press enter to open NetworkManager."
|
||||||
|
Loading…
Reference in New Issue
Block a user