From DefCon Projects
Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 February 2025

  • curprev 07:2007:20, 3 February 2025Webmaster talk contribs 1,086 bytes +1,086 Created page with "Manchmal ist es praktisch wenn man bei neuen Kernel-Meldungen informiert wird. Dieses Skript informiert euch per Mail wenn es zu einem neuen Eintrag im dmesg Protokoll gekommen ist. == Skript == <syntaxhighlight lang="c"> #!/bin/bash # Email configuration TO_ADDRESS="admin@example.com" SUBJECT="New dmesg Entry Detected for $(hostname)" MAIL_CMD="/usr/bin/mail" # Make sure the mail command is installed # Temporary file to store the last state of dmesg DMESG_LAST="/tmp/..."
Cookies help us deliver our services. By using our services, you agree to our use of cookies.