mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 04:51:44 +00:00
d7db15459f
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>
13 lines
120 B
Bash
Executable File
13 lines
120 B
Bash
Executable File
#!/bin/sh
|
|
|
|
{
|
|
exec /usr/sbin/sendmail root <<EOF
|
|
From: root
|
|
To: root
|
|
Subject: UPS $NOTIFYTYPE Notification
|
|
|
|
$1
|
|
.
|
|
EOF
|
|
} &
|