|
|
@@ -96,6 +96,9 @@ AutoReqProv: no
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;docs/;../docs/;g' \
|
|
|
install/index.php
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;#!/usr/bin/php;#!%{l_prefix}/bin/php;' \
|
|
|
+ cmd.php
|
|
|
|
|
|
# install all files and strip down installation afterwards
|
|
|
cp -rp * $RPM_BUILD_ROOT%{l_prefix}/share/cacti/
|
|
|
@@ -173,7 +176,6 @@ AutoReqProv: no
|
|
|
echo " the following commands:"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/etc/rc mysql start"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/sbin/cacti-setup"
|
|
|
- echo " \$ $RPM_INSTALL_PREFIX/etc/rc mysql stop"
|
|
|
echo ""
|
|
|
echo "2. Cacti by default is run by the OpenPKG cron jobs every 15"
|
|
|
echo " minutes only. Usually Cacti wants to run every 5 minutes for"
|