port load/unload
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Sat Sep 18 13:08:50 PDT 2010
>> Do we "do the right thing" by not having them use 'sudo' for LaunchAgents on Snow Leopard?
>
> MacPorts does not make any difference between LaunchDaemons and
> LaunchAgents. The default for startupitem.location is LaunchDaemons and
> I am not aware of any port changing this setting. There are dbus and
> xinit installing LaunchAgents, but those use custom methods/messages.
>
> It always prints 'sudo' in this message. I am not even sure if the
> command 'port load' works without root privileges...
I think we can add something like:
if {${build.asroot} == "yes"} {
ui_msg (no newline) "sudo "
}
ui_msg "port load ${name}"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20100918/c6eea648/attachment.bin>
More information about the macports-dev
mailing list