[106813] trunk/base/src/port1.0/portstartupitem.tcl
Ryan Schmidt
ryandesign at macports.org
Sat Jun 22 00:15:09 PDT 2013
On Jun 8, 2013, at 13:07, cal at macports.org wrote:
> Revision: 106813
> https://trac.macports.org/changeset/106813
> Author: cal at macports.org
> Date: 2013-06-08 11:07:44 -0700 (Sat, 08 Jun 2013)
> Log Message:
> -----------
> portstartupitem: adjust ui messages when autostart is enabled
>
> Modified Paths:
> --------------
> trunk/base/src/port1.0/portstartupitem.tcl
> # Emit some information for the user
> - ui_notice "###########################################################"
> - ui_notice "# A startup item has been generated that will aid in"
> - ui_notice "# starting ${subport} with SystemStarter. It is disabled"
> - ui_notice "# by default. Add the following line to /etc/hostconfig"
> - ui_notice "# or ${prefix}/etc/rc.conf to start it at startup:"
> - ui_notice "#"
> - ui_notice "# ${uppername}=-YES-"
> - ui_notice "###########################################################"
> + if {[tbool startupitem.autostart]} {
> + ui_notice "###########################################################"
> + ui_notice "# A startup item has been generated that will aid in"
> + ui_notice "# starting ${subport} with SystemStarter. It will be"
> + ui_notice "# started automatically on activation."
> + ui_notice "###########################################################"
> + } else {
> + ui_notice "###########################################################"
> + ui_notice "# A startup item has been generated that will aid in"
> + ui_notice "# starting ${subport} with SystemStarter. It is disabled"
> + ui_notice "# by default. Add the following line to /etc/hostconfig"
> + ui_notice "# or ${prefix}/etc/rc.conf to start it at startup:"
> + ui_notice "#"
> + ui_notice "# ${uppername}=-YES-"
> + ui_notice "###########################################################"
> + }
SystemStarter can't start programs on demand, can it? I thought only launchd could do that, and that SystemStarter required a system restart.
More information about the macports-dev
mailing list