Paul Webster wrote: 
> The end of  /opt/bootlocal.sh calls /pcp_startup.sh
> > 
Code:
--------------------
  >   > 
  > /home/tc/www/cgi-bin/pcp_startup.sh 2>&1 | tee -a /var/log/pcp_boot.log
  > 
--------------------
> > 
> 
> So - if you edit that to send output directly to /var/log/pcp_boot.log
> rather than to tee then it might well do what you want.
> perhaps
> > 
Code:
--------------------
  >   > 
  > /home/tc/www/cgi-bin/pcp_startup.sh > /var/log/pcp_boot.log 2>&1
  > 
--------------------
> > 
> 
> and then remember to do it again each time you update.

Hi Paul,

For future reference: I can confirm this does work. All output from
pcp_startup.sh gets redirected.
As bootlocal.sh is in the /opt directory it needs a [Backup] for the
changes to be saved.

Thanks
Greg


------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=109777

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to