mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
STAGE support
Fix incorrect path in rc script Approved by: swills (mentor)
This commit is contained in:
parent
b9f534fd68
commit
c2e2766a2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331477
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= mptd
|
||||
PORTVERSION= 0.01
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
|
||||
|
||||
@ -12,8 +13,7 @@ COMMENT= Monitoring daemon for mpt RAID controllers
|
||||
USE_RC_SUBR= mptd
|
||||
PLIST_FILES+= sbin/mptd
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mptd ${PREFIX}/sbin/mptd
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mptd ${STAGEDIR}${PREFIX}/sbin/mptd
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,9 +19,9 @@ stop_cmd="killall -9 mptd > /dev/null 2>&1"
|
||||
|
||||
mptd_start()
|
||||
{
|
||||
if [ -x "%%PREFIX%%/bin/mptd" -a -e "/dev/mpt0" ]; then
|
||||
if [ -x "%%PREFIX%%/sbin/mptd" -a -e "/dev/mpt0" ]; then
|
||||
echo "Starting mptd."
|
||||
%%PREFIX%%/bin/mptd ${raid_alert_mailto}
|
||||
%%PREFIX%%/sbin/mptd ${raid_alert_mailto}
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user