Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87311 Details for
Bug 99860
ebuild for freePBX / Asterisk Management Portal (AMP)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script to reconfigure after a new vhost is added
reconfig.sh (text/plain), 810 bytes, created by
Wade Fitzpatrick
on 2006-05-23 03:47:01 UTC
(
hide
)
Description:
Script to reconfigure after a new vhost is added
Filename:
MIME Type:
Creator:
Wade Fitzpatrick
Created:
2006-05-23 03:47:01 UTC
Size:
810 bytes
patch
obsolete
>#! /bin/sh ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >source /sbin/functions.sh >source /etc/conf.d/${PN} > >export SANDBOX_ON=0 > >if [ "$1" == "install" ]; then > einfo "Reconfiguring /etc/conf.d/${PN}" > sed -i -e "s:^AMPWEBROOT=.*:AMPWEBROOT=${MY_INSTALLDIR}:" \ > -e "s:^FOPWEBROOT=.*:FOPWEBROOT=${MY_INSTALLDIR}/panel:" \ > -e "s:^AMPCGIBIN=.*:AMPCGIBIN=${VHOST_HTDOCSDIR}/${VHOST_CGIBINDIR}:" \ > -e "s:^AMPWEBADDRESS=.*:AMPWEBADDRESS=${VHOST_HOSTNAME}:" /etc/conf.d/${PN} > if [ $? != 0 ]; then > ewarn "I still seem to be running in a sandbox. Please edit /etc/conf.d/${PN}" > ewarn "then run /usr/sbin/${PN}_apply_conf.sh" > exit 1 > fi > > einfo "Running ${PN}_apply_conf.sh" > /usr/sbin/${PN}_apply_conf.sh >fi ># vim:ts=4:sw=4:noet
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 Raw
Actions:
View
Attachments on
bug 99860
:
68060
|
68615
|
69363
|
83788
|
87305
|
87306
|
87307
|
87308
|
87309
|
87310
| 87311