Requires: curl
Requires: coreutils
+Requires: openssh-clients
Requires: PLCWWW >= 4.2
+Requires: BootCD >= 4.2
%description
Scripts for polling PLC, the node, and PCU status. Also a collection of
install -D -m 755 %{name}.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/%{name}
echo " * TODO: Setting up Monitor account in local MyPLC"
-cp /usr/share/%{name}/monitorconfig-default.py /usr/share/%{name}/monitorconfig.py
+cp $RPM_BUILD_ROOT/usr/share/%{name}/monitorconfig-default.py $RPM_BUILD_ROOT/usr/share/%{name}/monitorconfig.py
%clean
rm -rf $RPM_BUILD_ROOT
echo "Post processing"
# TODO: this will be nice when we have a web-based service running., such as
# an API server or so on.
+# TODO: create real monitorconfig.py from monitorconfig-default.py
+# TODO: create monitorconfig.php using phpconfig.py
+# TODO: create symlink in /var/lib/monitor-server for chroot environments
+# TODO: update the content of automate_pl03.sh
+
#chkconfig --add monitor-server
#chkconfig monitor-server on