diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-05-08 06:20:06 -0700 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-05-09 10:49:29 -0700 |
commit | 3b7f73015c06f08c2b64d7def022151872bf1cfc (patch) | |
tree | 1007eec4338cef877d9bf1d1d378ddaadc3f7ea8 /sysutils/nut-devel/files/patch-conf_upsmon.conf.sample.in | |
parent | sysutils/nut*: Register conflicts (diff) |
sysutils/nut*: Use poweroff instead of shutdown -h
Poweroff instead of halt when signaling shutdown.
PR: 263855
Reported by: clear.screen@orange.fr
Diffstat (limited to 'sysutils/nut-devel/files/patch-conf_upsmon.conf.sample.in')
-rw-r--r-- | sysutils/nut-devel/files/patch-conf_upsmon.conf.sample.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/nut-devel/files/patch-conf_upsmon.conf.sample.in b/sysutils/nut-devel/files/patch-conf_upsmon.conf.sample.in new file mode 100644 index 000000000000..1e8edaeeab0d --- /dev/null +++ b/sysutils/nut-devel/files/patch-conf_upsmon.conf.sample.in @@ -0,0 +1,11 @@ +--- conf/upsmon.conf.sample.in.orig 2022-05-08 06:15:14.873131000 -0700 ++++ conf/upsmon.conf.sample.in 2022-05-08 06:18:53.643631000 -0700 +@@ -149,7 +149,7 @@ + # such as posting a message with 'logger' or 'wall' or 'mailx'. Do be careful + # to plug the UPS back into the wall in a timely fashion. + +-SHUTDOWNCMD "/sbin/shutdown -h +0" ++SHUTDOWNCMD "/sbin/poweroff" + + # -------------------------------------------------------------------------- + # NOTIFYCMD <command> |