On Jun 8, 2013, at 13:07, [email protected] wrote:

> Revision: 106813
>          https://trac.macports.org/changeset/106813
> Author:   [email protected]
> 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.



_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to