workan on pyenv

This commit is contained in:
2025-08-14 23:44:45 -06:00
parent c8a099c804
commit b9acf08524
4 changed files with 50 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# usage in cron
## @reboot bash /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/cron.error.log
## @reboot bash /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup"
# discord_webhook="https://discord.com/api/webhooks/yourwebhook"
discord_webhook=$(cat /usr/share/customscripts/webhook.txt)
ipaddr=$(hostname -I | grep -E -o "10.0.0.[0-9]{1,3}" | tr '\n' ' ')