usr/bin/watchdog aktualisiert

This commit is contained in:
2024-10-16 11:10:54 +02:00
parent 6a3436aaad
commit 72f87e68f8

View File

@@ -1,3 +1,6 @@
# Version 1.0:
# Created 2024 by Tim Eertmoed, Christian Hampp @ WiS IT-Solutions GmbH, Germany to work on Raspian as custom pxe init script.
#!/bin/bash
watchdog=$(sudo cat /var/lib/dhcp/* | grep -a "option watchdog" | tail -1 | \
awk '{for (i=3; i<=NF; i++) printf "%s ", $i}' | tr -d '";')