Small but important tweaks to fix the operation of the nut initscripts and hotplug scripts. All hail shellcheck and proofreading and dogfooding. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
12 lines
120 B
Bash
Executable file
12 lines
120 B
Bash
Executable file
#!/bin/sh
|
|
|
|
{
|
|
exec /usr/sbin/sendmail root <<EOF
|
|
From: root
|
|
To: root
|
|
Subject: UPS $NOTIFYTYPE Notification
|
|
|
|
$1
|
|
.
|
|
EOF
|
|
} &
|