[plug] Samba, how to get it to boot at startup.

Anthony J. Breeds-Taurima tony at cantech.net.au
Thu Jul 5 13:42:08 WST 2001


On Wed, 4 Jul 2001, Ambrose Scafidi wrote:

> Howdy all,
> 	I have just got samba up and running over a small home LAN comprised of a
> RH7.0 and Win2000. How can I go about setting up the linux box such that
> Samba loads automatically upon startup, rather than the current manual
> engagement?

edit /etc/init.d/smb
Look for the line:
# chkconfig: - x y
where x and y are 2 numbers
change the "-" to 345
ie
# chkconfig: 345 x y
save and exit

then from the command prompt run
chkconfig --del smb
chkconfig --add smb
chkconfig --list smb

You should see something like:
smb             0:off   1:off   2:off   3:on    4:on    5:on    6:off

then if smb isn't currenly running just do:
service smb start

and Robert is your fathers brother :)


Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */




More information about the plug mailing list