This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###################################################### | |
| # Simple Cartridge Save Manager GodMode9 Script # | |
| # by DannyAAM # | |
| ###################################################### | |
| @Start | |
| labelsel -s "Choose an Option." MainMenu_* | |
| goto Start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -o errexit | |
| clear | |
| printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
| ### HOW TO USE | |
| ### Pre-req: | |
| ### - run on a Proxmox 7 server | |
| ### - a dhcp server should be active on vmbr1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| automation: | |
| - id: rf_signal_receiver | |
| alias: rf_signal_receiver | |
| trigger: | |
| - platform: mqtt | |
| topic: tele/RFBridge/RESULT | |
| condition: | |
| - condition: template | |
| value_template: > | |
| {{ trigger.payload_json["RfReceived"] is not none }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| fact_apt_updated_recently=` \ | |
| find / -maxdepth 1 -name .apt_updated -mtime 0 | wc -l | \ | |
| sed 's/0/false/' | sed 's/1/true/' | |
| ` | |
| fact_internet_accessible=` \ | |
| ping google.com -c1 -W3 &>/dev/null && echo 'true' || echo 'false' | |
| ` |