FreeBSD Bugzilla – Attachment 144481 Details for
Bug 187924
[PATCH] sysutils/apcupsd: Use shutdown -p rather than -h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised patch
187924.diff (text/plain), 1.61 KB, created by
Tim Bishop
on 2014-07-07 09:49:45 UTC
(
hide
)
Description:
Revised patch
Filename:
MIME Type:
Creator:
Tim Bishop
Created:
2014-07-07 09:49:45 UTC
Size:
1.61 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 361044) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= apcupsd > PORTVERSION= 3.14.12 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%20Stable/${PORTVERSION} > >@@ -84,7 +84,7 @@ > post-install: > @${ECHO_CMD} "@unexec if [ -d %D/${ETCDIR_REL} ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${ETCDIR}`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST} > # Install sample startup script >- for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \ >+ for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf apccontrol changeme commfailure commok onbattery offbattery; do \ > if [ -f ${STAGEDIR}${ETCDIR}/$$na ]; then \ > ${MV} ${STAGEDIR}${ETCDIR}/$$na ${STAGEDIR}${ETCDIR}/$$na.sample; \ > fi \ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 361044) >+++ pkg-plist (working copy) >@@ -3,12 +3,12 @@ > sbin/apctest > sbin/smtp > @sample %%ETCDIR%%/apcupsd.conf.sample >-%%ETCDIR%%/apccontrol >-%%ETCDIR%%/changeme >-%%ETCDIR%%/commfailure >-%%ETCDIR%%/commok >-%%ETCDIR%%/onbattery >-%%ETCDIR%%/offbattery >+@sample %%ETCDIR%%/apccontrol.sample >+@sample %%ETCDIR%%/changeme.sample >+@sample %%ETCDIR%%/commfailure.sample >+@sample %%ETCDIR%%/commok.sample >+@sample %%ETCDIR%%/onbattery.sample >+@sample %%ETCDIR%%/offbattery.sample > %%CGI%%@sample %%ETCDIR%%/apcupsd.css.sample > %%CGI%%@sample %%ETCDIR%%/hosts.conf.sample > %%CGI%%@sample %%ETCDIR%%/multimon.conf.sample
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187924
:
141181
| 144481