Marc G. Fournier skrev:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


It has been brought to my attention that there is / was an inherent flaw in how/when bsdstats is run ... it makes the assumption that the server is actually *running* at 5am on the 1st of each month, instead of shutdown as numerous offices do ...

I've just made a slight change to the port so that it adds a bsdstats.sh script to /usr/local/etc/rc.d that can be enabled in /etc/rc.conf so that it runs on system reboot ...

The script that prompts you to enable will auto-enable boottime reporting if you enable monthly reporting as well ...

It adds half a minute or so to startup-time.

So I changed  the line:
run_rc_command "$1"
to:
run_rc_command "$1" &

To force it to background.
Is this correct action in rc-scripts?

--
Regards,
Lars


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

iD8DBQFGM5934QvfyHIvDvMRAmHMAKC/scpziDRgGfjge4Xgd6c1yHs1QACg6Ysl
+UPjZuM2FlOGKB2DJ2xaruc=
=3hFG
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to