RE: Question from a neophyte... Why isn't rc.local being read?

2000-08-22 Thread Johan Kruger

Make sure it's not commented out in rc

# Run rc.devfs if readable to customize devfs
#
if [ -r /etc/rc.devfs ]; then
sh /etc/rc.devfs
fi

# Do traditional (but rather obsolete) rc.local file if it exists.  If you
# use this file and want to make it programmatic, source /etc/defaults/rc.conf
# in /etc/rc.local and add your custom variables to /etc/rc.conf, as
# shown below.  Please do not put local extensions into /etc/rc itself.
# Use /etc/rc.local
#
#  rc.local 
#   if [ -r /etc/defaults/rc.conf ]; then
#   . /etc/defaults/rc.conf
#   source_rc_confs
#   elif [ -r /etc/rc.conf ]; then
#   . /etc/rc.conf
#   fi
#
#   ... additional startup conditionals ...
#  rc.local 
#
if [ -r /etc/rc.local ]; then
echo -n 'starting local daemons:'
sh /etc/rc.local
echo '.'
fi




On 21-Aug-00 Gordon Zeigler wrote:
> I've added startup commands to /etc/rc.local on my 3.4 Stable machine.
> 
> /usr/local/etc/webmin/start # Start webmin
> /usr/local/sbin/sshd# Start open ssh
> /etc/init.d/apachectl start # Start apache web server
> 
> Yet, these are not starting at reboot...
> 
> What am I missing? Probably something obvious, but it escapes me...
> 
>  
> 
> *** REPLY SEPARATOR  ***
> 
> On 8/21/00 at 9:53 AM Julian Elischer wrote:
> 
>>since config has changed.. where do I set the flags on my debug port
>>(sio2?)
>>the sio man page has no hints..
>>it looks to me as it if is now controlled differently 
>>unles I've made a mistake
>>
>>
>>julian
>>
>>
>>
>>
>>To Unsubscribe: send mail to [EMAIL PROTECTED]
>>with "unsubscribe freebsd-current" in the body of the message
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

--
Unix Software Developer/Engineer
E-Mail: Johan Kruger <[EMAIL PROTECTED]>
Date: 22-Aug-00
Time: 12:38:46

All good things come to those who ... runs FreeBSD
--


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Question from a neophyte... Why isn't rc.local being read?

2000-08-21 Thread Ben Smithurst

Michael Lucas wrote:

> rc.local is deprecated.  Drop a shell script in /usr/local/etc/rc.d

Not really.  Some of us prefer to have commands to start things in one
nice list in /etc/rc.local, rather than loads of separate shell scripts
in /usr/local/etc/rc.d.  There's no reason I can see for rc.local not to
get read at boot time.  I'd recommend the original poster compare his
other /etc/rc* files with those in /usr/src/etc to make sure there has
been no local modification to remove the code which calls rc.local.

-- 
Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Question from a neophyte... Why isn't rc.local being read?

2000-08-21 Thread Michael Lucas

Gordon,

This sort of question is better suited to
[EMAIL PROTECTED] than [EMAIL PROTECTED]  In the
future, please ask there first.

rc.local is deprecated.  Drop a shell script in /usr/local/etc/rc.d

==ml

The short answer

> I've added startup commands to /etc/rc.local on my 3.4 Stable machine.
> 
> /usr/local/etc/webmin/start # Start webmin
> /usr/local/sbin/sshd# Start open ssh
> /etc/init.d/apachectl start # Start apache web server
> 
> Yet, these are not starting at reboot...
> 
> What am I missing? Probably something obvious, but it escapes me...
> 
>  
> 
> *** REPLY SEPARATOR  ***
> 
> On 8/21/00 at 9:53 AM Julian Elischer wrote:
> 
> >since config has changed.. where do I set the flags on my debug port
> >(sio2?)
> >the sio man page has no hints..
> >it looks to me as it if is now controlled differently 
> >unles I've made a mistake
> >
> >
> >julian
> >
> >
> >
> >
> >To Unsubscribe: send mail to [EMAIL PROTECTED]
> >with "unsubscribe freebsd-current" in the body of the message
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message