aboutsummaryrefslogtreecommitdiff
path: root/bin/uninstall.sh
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2021-10-21 12:11:34 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2021-10-21 12:25:07 +0200
commita69d9dbc80dfaa0fc3eef3b5ac48e1c2a25fa08b (patch)
tree9b25e6509d5dd25cb0b08c979b2150744532da93 /bin/uninstall.sh
parenta975479fc3eaa0fc89341603bffb0224bed1be3d (diff)
downloadLuxcena-Neo-a69d9dbc80dfaa0fc3eef3b5ac48e1c2a25fa08b.tar.gz
Luxcena-Neo-a69d9dbc80dfaa0fc3eef3b5ac48e1c2a25fa08b.zip
:lipstick: Make cursor show when user input is requested
Diffstat (limited to 'bin/uninstall.sh')
-rwxr-xr-xbin/uninstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/uninstall.sh b/bin/uninstall.sh
index 2b3f41e..ee8a5a2 100755
--- a/bin/uninstall.sh
+++ b/bin/uninstall.sh
@@ -102,6 +102,7 @@ function execCommand() {
function dlgYN() {
TPUT sc
TPUT setaf 4
+ TPUT cnorm
printf "$1 (y/n)? "
while :
do
@@ -127,6 +128,7 @@ printf "By uninstalling Luxcena-Neo you might loose all data, including your scr
dlgYN "Are you sure you want to uninstall?" res
if [ $res -eq 1 ]; then
+ TPUT civis
header "Stop systemd service"
execCommand "systemctl stop luxcena-neo"