cvs commit: ports/sysutils/bsdstats Makefile pkg-install

Marc G. Fournier scrappy at freebsd.org
Thu May 3 22:50:08 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Saturday, April 28, 2007 15:21:32 -0400 Kris Kennaway 
<kris at obsecurity.org> wrote:

> On Sat, Apr 28, 2007 at 07:12:31PM +0000, Marc G. Fournier wrote:
>> scrappy     2007-04-28 19:12:31 UTC
>>
>>   FreeBSD ports repository
>>
>>   Modified files:
>>     sysutils/bsdstats    Makefile pkg-install
>>   Log:
>>   By popular request, I've added a bsdstats.sh script to etc/rc.d so that
>>   it can be enabled to run on reboot (ie. for laptops, office computers, etc)
>>   since not everyone runs a server 24/7 ...
>>
>>   I've added to pkg-install a yesno question as to whether it should be
>>   enabled on reboot, seperate from the monthly periodic run ...
>
> Interactive pkg_installs are the work of the devil :( Think what
> happens when a user tries to add your package from sysinstall.  Hint:
> the TTY used by pkg_add is over on another VTY.

Hrmmm ... hadn't thought about sysinstall :(  But, what behaviour should happen 
if someone installs via sysinstall?  Auto-enabled?  Then again, if someone does 
go to the trouble of installing it in the first place, even interactively, 
would it make more sense to just get rid of the interactive altogether and have 
it auto-enable, and let them know how to disable?

Would it make sense / be acceptable to have it auto-enable the stats if someone 
installs, but leave the 'extra reports' disabled unless they manually modify 
/etc/periodic.conf to enable them?  That sounds to be like it would be the 
least offensive, but a 'second opinion' would be appreciated ...


- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGOmNF4QvfyHIvDvMRAlT1AKCY0rLNQOWrQQ/eQkmd5cPUIL+VCACfegAg
NGTJkYC6IFb06zeNgAbM8cM=
=6df1
-----END PGP SIGNATURE-----



More information about the cvs-ports mailing list