mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
nut: initscripts hotplug: Fix many small semantic issues
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>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/sbin/sendmail root <<EOF
|
||||
{
|
||||
exec /usr/sbin/sendmail root <<EOF
|
||||
From: root
|
||||
To: root
|
||||
Subject: UPS $NOTIFYTYPE Notification
|
||||
@@ -8,3 +9,4 @@ Subject: UPS $NOTIFYTYPE Notification
|
||||
$1
|
||||
.
|
||||
EOF
|
||||
} &
|
||||
|
||||
Reference in New Issue
Block a user