Moved web.pm from xcat/plugins into xCAT-UI/xcat/plugins so it can be easily built and packaged with xCAT-UI.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10528 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2011-09-14 16:50:45 +00:00
parent b189215279
commit 1ba7a87296
2 changed files with 1958 additions and 0 deletions

View File

@ -139,6 +139,10 @@ set -x
if [ "$1" = 1 ] || [ "$1" = 2 ] # Install or upgrade
then
# Copy xCAT plugins to /opt/xcat/lib/perl/xCAT_plugin
cp %{prefix}/ui/xcat/plugins/web.pm /opt/xcat/lib/perl/xCAT_plugin/
/etc/init.d/xcatd restart
# Copy php.ini file into /opt/xcat/ui and turn off output_buffering
if [ -e "/etc/redhat-release" ]; then
/bin/sed /etc/php.ini -e 's/output_buffering = 4096/output_buffering = Off/g' > %{prefix}/ui/php.ini

1954
xCAT-UI/xcat/plugins/web.pm Normal file

File diff suppressed because it is too large Load Diff