-   Linux - Software (
-   -   rc.local not running on boot??? (

Evilone 09-08-2003 11:13 AM

rc.local not running on boot???

I've added some lines to rc.local. I've pre tested the commands and they all run at a command prompt eg :

smbd -D
nmbd -D

Problem is, rc.local does not execute on startup????
It runs if i run it from command prompt :


I've checked /etc/rc.d/rc.M and sure enough :

# Start the local setup procedure.
if [ -x /etc/rc.d/rc.local ]; then
. /etc/rc.d/rc.local

And yes the file exists !! Totally bizzare !!!

I've made sure that multi user is enabled , and checked inittab under etc

# Default runlevel. (Do not set to 0 or 6)

Anyone else had this problem???? It's spooking me out!!

trickykid 09-08-2003 02:01 PM

Not sure why it wouldn't be running if its calling it from your rc.M script, but given the services, you should really be running Samba to start off at boot time in either your inetd.conf file or creating their own script in rc.d and adding that to run from your rc.M script, etc.

All times are GMT -5. The time now is 09:58 AM.