Changeset 14572 for trunk/base
- Timestamp:
- Oct 12, 2005, 4:32:14 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port1.0/portstartupitem.tcl
r14542 r14572 2 2 # portstartupitem.tcl 3 3 # 4 # $Id: portstartupitem.tcl,v 1.2 2 2005/10/11 04:38:36jberry Exp $4 # $Id: portstartupitem.tcl,v 1.23 2005/10/12 04:32:14 jberry Exp $ 5 5 # 6 6 # Copyright (c) 2004, 2005 Markus W. Weissman <mww@opendarwin.org>, … … 370 370 puts ${para} "\}" 371 371 close ${para} 372 373 # Emit some information for the user 374 ui_msg "###########################################################" 375 ui_msg "# A startup item has been generated that will aid in" 376 ui_msg "# starting ${portname} with SystemStarter. It is disabled" 377 ui_msg "# by default. Add the following line to /etc/hostconfig" 378 ui_msg "# or ${prefix}/etc/rc.conf to start it at startup:" 379 ui_msg "#" 380 ui_msg "# ${uppername}:=-YES-" 381 ui_msg "###########################################################" 372 382 } 373 383 … … 572 582 file mkdir "${destroot}/Library/${daemondest}" 573 583 system "cd ${destroot}/Library/${daemondest} && ln -sf ${itemdir}/${plistname}" 584 585 # Emit some information for the user 586 ui_msg "###########################################################" 587 ui_msg "# A startup item has been generated that will aid in" 588 ui_msg "# starting ${portname} with launchd. It is disabled" 589 ui_msg "# by default. Execute the following command to start it," 590 ui_msg "# and to cause it to launch at startup:" 591 ui_msg "#" 592 ui_msg "# sudo launchctl load -w /Library/${daemondest}/${plistname}" 593 ui_msg "###########################################################" 574 594 } 575 595
Note: See TracChangeset
for help on using the changeset viewer.