mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
Update zwave-js-ui-update.sh
This commit is contained in:
parent
a8c195d9b4
commit
25133371dc
@ -21,6 +21,16 @@ function error_exit() {
|
||||
echo -e "$flag $msg" 1>&2
|
||||
exit $EXIT
|
||||
}
|
||||
clear
|
||||
while true; do
|
||||
read -p "This will update ZWave JS UI. Proceed(y/n)?" yn
|
||||
case $yn in
|
||||
[Yy]* ) break;;
|
||||
[Nn]* ) exit;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
clear
|
||||
|
||||
echo -en "${GN} Updating Z-wave JS UI... "
|
||||
systemctl stop zwave-js-ui.service
|
||||
|
Loading…
Reference in New Issue
Block a user