On Saturday 05 August 2006 00:21, User Freebsd wrote: > On Fri, 4 Aug 2006, Colin Percival wrote: > > User Freebsd wrote: > >> 'k folks ... the quick and dirty .. actually, not too dirty ... > >> > >> The attached script [...] > > > > Can you make this into a port which users can install? > > I'm not sure, can I? Can ports install into /etc/periodic? Or is there > some other way of doing it? > > If you want to do the initial port and assign MAINTAINER to > [EMAIL PROTECTED], I'll maintain it from there ... I'm just not sure > how to deal with installing into non-/usr/local as a port ... :(
Here is a sample (working) port. Un-tar the archive under ports/sysutils. It installs the script to ${LOCALBASE}/etc/periodic/monthly and prints a message about how to enable it. Have a look at it, edit all the text entries to make them your own (in particular I didn't do a real pkg-descr), and submit it as a PR (I can assist you with that off-list if you'd like). Feature request: the script should output one line of text indicating success or failure (and to remind people who read their periodic e-mails that it's actually running). JN [note to -questions readers: the attachment probably won't make it to the list]
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"