Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2025-04-10 23:30:09 +10:00
636 changed files with 6711 additions and 4819 deletions
+4 -4
View File
@@ -14,12 +14,12 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y {curl,sudo,mc,gpg,arp-scan,ieee-data,libwww-perl,wget,openssh-server}
$STD apt-get install -y {gpg,arp-scan,ieee-data,libwww-perl}
msg_ok "Installed Dependencies"
msg_info "Installing WatchYourLAN"
RELEASE=$(curl -s https://api.github.com/repos/aceberg/WatchYourLAN/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4)
wget -q https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_arm64.deb
RELEASE=$(curl -fsSL https://api.github.com/repos/aceberg/WatchYourLAN/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4)
curl -fsSL "https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_arm64.deb" -o $(basename "https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_arm64.deb")
$STD dpkg -i watchyourlan_${RELEASE}_linux_arm64.deb
rm watchyourlan_${RELEASE}_linux_arm64.deb
mkdir /data
@@ -45,7 +45,7 @@ msg_ok "Installed WatchYourLAN"
msg_info "Creating Service"
sed -i 's|/etc/watchyourlan/config.yaml|/data/config.yaml|' /lib/systemd/system/watchyourlan.service
systemctl enable -q --now watchyourlan.service
systemctl enable -q --now watchyourlan
msg_ok "Created Service"
motd_ssh