mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Add files via upload
This commit is contained in:
		
							parent
							
								
									24939e2724
								
							
						
					
					
						commit
						752d253ad3
					
				| 
						 | 
					@ -1,5 +1,14 @@
 | 
				
			||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/node-red-dark.sh)"
 | 
					# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/node-red-dark.sh)"
 | 
				
			||||||
 | 
					while true; do
 | 
				
			||||||
 | 
					    read -p "This will install midnight-red theme. Proceed(y/n)?" yn
 | 
				
			||||||
 | 
					    case $yn in
 | 
				
			||||||
 | 
					        [Yy]* ) break;;
 | 
				
			||||||
 | 
					        [Nn]* ) exit;;
 | 
				
			||||||
 | 
					        * ) echo "Please answer yes or no.";;
 | 
				
			||||||
 | 
					    esac
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set -o errexit
 | 
					set -o errexit
 | 
				
			||||||
set -o errtrace
 | 
					set -o errtrace
 | 
				
			||||||
set -o nounset
 | 
					set -o nounset
 | 
				
			||||||
| 
						 | 
					@ -74,9 +83,8 @@ EOF
 | 
				
			||||||
echo -e "${CM}${CL} \r"
 | 
					echo -e "${CM}${CL} \r"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo -en "${GN} Restarting Node-Red... "
 | 
					echo -en "${GN} Restarting Node-Red... "
 | 
				
			||||||
node-red-restart
 | 
					 | 
				
			||||||
echo -e "${CM}${CL} \r"
 | 
					echo -e "${CM}${CL} \r"
 | 
				
			||||||
 | 
					node-red-restart
 | 
				
			||||||
echo -en "${GN} Finished... ${CL} \n"
 | 
					echo -en "${GN} Finished... ${CL} \n"
 | 
				
			||||||
exit
 | 
					exit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue