I've just had a look at the startupitem declaration within portfiles, and I 
wondered whether it's worth changing the standard message to include more 
information. Currently, it reads:

###########################################################
# A startup item has been generated that will aid in
# starting <port name> with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo port load <port name>
###########################################################

Now it doesn't explicitly mention that there is also an 'unload' which does as 
you'd expect. If we drill this home to users, then it'll save people from 
needing to remember about launchctl, and paths to the startup items themselves. 
The text could read something like:

###########################################################
# You can run <port name> now, and configure it to start
# automatically during boot by executing the following
# command:
# 
# sudo port load <port name>
# 
# To stop <port name>, and prevent it from from starting
# automatically during boot, execute the following command:
#
# sudo port unload <port name>
###########################################################

Thoughts?


Nick

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

Reply via email to