Welkson Renny de Medeiros wrote: > Boa tarde Patrick! > > Link do meu post sobre essa diferença do make install para o pkg_add -r: > http://www.fug.com.br/historico/html/freebsd/2007-06/msg00885.html > > Posso ter analisado meio rápido e ter me enganado... mas pelo ports ele não > inclui nada no rc.conf, e pelo pkg_add inclui o bsdstats_enable=YES > > Abraço,
Entao, via ports tem a mensagem, que pode ser revista com ` pkg_info -D bsdstats-5.3_4` e depois ele faz algumas perguntas interativamente: ******************** To enable monthly reporting, edit or create /etc/periodic.conf and add this line: monthly_statistics_enable="YES" To enable boottime reporting, edit or create /etc/rc.conf and add this line: bsdstats_enable="YES" To enable device reporting, add this line: monthly_statistics_report_devices="YES" To enable ports reporting, add this line: monthly_statistics_report_ports="YES" To run it manually the first time, just run it as: ${LOCALBASE}/etc/periodic/monthly/300.statistics -nodelay To view current statistics, go to: http://www.bsdstats.org ******************** Would you like to activate monthly reporting in /etc/periodic.conf [n]? y Would you like to send a list of installed hardware as well [n]? y Would you like to send a list of installed ports as well [n]? y Would you like to run it now [y]? y /usr/ports/sysutils/bsdstats/pkg-install: /etc/periodic/monthly/300.statistics: not found *** Error code 127 Stop in /usr/ports/sysutils/bsdstats. Esse erro ta acontecendo sempre, via ports. Nao sei pq, ja ${LOCALBASE} esta populada ok. Mas mesmo assim ele adiciona as entradas: # tail -3 /etc/periodic.conf monthly_statistics_enable="YES" monthly_statistics_report_devices="YES" monthly_statistics_report_ports="YES" # tail -1 /etc/rc.conf bsdstats_enable="YES" Fora esse pequeno erro do ports, o resto depende de voce dar Y nas perguntas interativas. Perguntas que o pkg nao faz. Confere? -- Patrick Tracanelli FreeBSD Brasil LTDA. (31) 3281-9633 / 3281-3547 [EMAIL PROTECTED] http://www.freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd