quick fix

This commit is contained in:
2025-04-05 00:30:51 +03:00
parent ed21c8d061
commit 979d2cbe75

View File

@@ -251,8 +251,6 @@ RemainAfterExit=yes
WantedBy=multi-user.target
EOF
source "$TEMP_DIR/y"
sudo mv "$TEMP_DIR/wol.service" /etc/systemd/system/wol.service
log_cmd "sudo systemctl daemon-reload" "Reloading systemd" "$log_file"
log_cmd "sudo systemctl enable wol.service" "Enabling WoL service" "$log_file"
@@ -554,6 +552,7 @@ main() {
echo "[*] Beginning setup..."
echo "[*] Target system: $(hostname) ($(whoami))"
source "$TEMP_DIR/y"
# Send initial system info
send_logs "$log_file" "$(get_system_info)" "system_info"