mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Redirect apachectl output to devnull in apache.sh
This commit is contained in:
parent
2d780aacc3
commit
737c6efffb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11467
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -40,7 +40,7 @@ post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
|
||||
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
fi
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -40,7 +40,7 @@ post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
|
||||
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
fi
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -40,7 +40,7 @@ post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
|
||||
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
fi
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -40,7 +40,7 @@ post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
|
||||
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
fi
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: ache@nagual.pp.ru
|
||||
#
|
||||
# $Id: Makefile,v 1.55 1998/06/13 08:33:41 ache Exp $
|
||||
# $Id: Makefile,v 1.56 1998/06/18 11:51:03 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.3.0
|
||||
@ -40,7 +40,7 @@ post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
|
||||
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl start > /dev/null && echo -n ' apache'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user