Rev 63 | Rev 86 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
mv sendEmail/ /usr/local/opt
svn co http://svn.dailydata.net/svn/camp_sysinfo_client_3
mkdir -p /usr/local/opt/camp/sysinfo-client
cp -av configure.pl getSendEmail.pl install.pl makeVersionFile modules notes
scripts sysinfo-client sysinfo-client.conf.template
sysinfo-client.seed.example sysinfoconf.pm VERSION
/usr/local/opt/camp/sysinfo-client
mkdir -p /usr/local/etc/camp/sysinfo-client
mkdir -p /usr/local/etc/camp/sysinfo-client/modules
mkdir -p /usr/local/etc/camp/sysinfo-client/scripts
cp ~dailydata/sysinfo/sysinfo-client.seed
/usr/local/etc/camp/sysinfo-client/sysinfo-client.conf
echo '#! /usr/bin/env bash' > /usr/local/etc/periodic/daily/999.sysinfo
echo '#' >> /usr/local/etc/periodic/daily/999.sysinfo
echo '# run sysinfo script daily' >>
/usr/local/etc/periodic/daily/999.sysinfo
echo '#' >> /usr/local/etc/periodic/daily/999.sysinfo
echo '' >> /usr/local/etc/periodic/daily/999.sysinfo
echo '/usr/local/opt/camp/sysinfo/sysinfo-client' >>
/usr/local/etc/periodic/daily/999.sysinfo
chmod 555 /usr/local/etc/periodic/daily/999.sysinfo
mkdir -p /usr/local/opt/camp/sysinfo-client/
cp -a camp_sysinfo_client_3/* /usr/local/opt/camp/sysinfo-client/
chown -fR root:wheel /usr/local/opt/camp
chmod 700 /usr/local/opt/camp/sysinfo-client/sysinfo-client
/usr/local/opt/camp/sysinfo-client/*.pl
//usr/local/opt/camp/sysinfo-client/modules/*
///usr/local/opt/camp/sysinfo-client/scripts/*
rm /usr/local/opt/camp/sysinfo-client/sysinfo-client/makeVersionFile
if /usr/local/etc/camp/sysinfo-client/sysinfo-client.conf doesn't exist
cp
/usr/local/opt/camp/sysinfo-client/sysinfo-client/sysinfo-client.conf.template
/usr/local/etc/camp/sysinfo-client/sysinfo-client.conf
chmod 600 /usr/local/etc/camp/sysinfo-client/sysinfo-client.conf
During install, if there is a sysinfo2 data file, you may get the following error messages
Old sysinfo 2 config exists, load it for defaults[ YES | no ]:
Loading defaults from sysinfo2 config /etc/sysinfo/sysinfo.conf
Use of uninitialized value $hostname in concatenation (.) or string at (eval 5) line 42.
Use of uninitialized value $reportDate in concatenation (.) or string at (eval 5) line 42.
This can be safely ignored (the two last lines)
https://en.wikipedia.org/wiki/YAML