BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 18th, 2001, 02:21 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Auto Startup

Hi, I was wondering how I get something to automatically start up when the computer starts. I've never really played around with this but I installed proftpd. This is on a freebsd machine and it put the proftpd.sh in /usr/local/etc/rc.d/ and the proftpd.conf in /usr/local/etc/. Thanks for the help! I just hate starting up the machine then having to run sh proftpd.sh start every single time because sometimes I forget.
__________________
-MattWil

Reply With Quote
  #2  
Old November 18th, 2001, 02:30 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> then having to run sh proftpd.sh start every single time

1) Make sure /usr/local/etc/rc.d/proftpd.sh is executable
2) Make sure it's named proftpd.sh, not proftpd.sh.sample.

Keep in mind, unless you explicitly override it in /etc/rc.conf, there is a line local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" in your /etc/defaults/rc.conf, which is the additional path for you to place your startup scripts.
Under no circumstances should you alter anything in /etc/defaults/rc.conf. If you need to override some of the default values in /etc/defaults/rc.conf, do it in /etc/rc.conf at all time.

Just so you know, FreeBSD doesn't have a good rc mechanism. NetBSD has a better one and I am sure sooner or later FreeBSD will implement it.

Reply With Quote
  #3  
Old November 18th, 2001, 02:37 PM
MattWil MattWil is offline
YaBN (Yet another BSD Newbie)
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 74 MattWil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Ok, thanks! It wasn't executable.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Auto Startup

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap