Somebody_else
asked on
making the samba SMB service run at start up
Currently i have samba running for winnt access but i have to start the service manually whenever i reboot,
i.e. /etc/rc.d/init.d/smb start
im sure there is a way but i don't know it, to autoload this service at boot.......
let me know how and the points are yours!!
somebody_else
i.e. /etc/rc.d/init.d/smb start
im sure there is a way but i don't know it, to autoload this service at boot.......
let me know how and the points are yours!!
somebody_else
ASKER
i will go check it out right now... btw i am running redhat 7.0/7.1 thanks!!
ASKER
i will go check it out right now... btw i am running redhat 7.0/7.1 thanks!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i tried schlonz's way but managing all those links proves to be a headache with j2's answer it is fast and simple....although the actual command line is:
chkconfig --level 35 smb on
in the future a lot of experts would be less grumpy if you didn't post answers so fast... as this allows others to jump in with help and suggestions.....
thank you for your time and effort.
-me
chkconfig --level 35 smb on
in the future a lot of experts would be less grumpy if you didn't post answers so fast... as this allows others to jump in with help and suggestions.....
thank you for your time and effort.
-me
OH! you're right about the "on". I reedited the source to "service" a year or so back, because i was (at the time) so aggrevated over the fact that it was "on" even tho the prefix in the scripts is "S" (for start) so i thought that "start" would be more apropriate.. so my service handles both "on" and "start".
Sorry for the confusion.
Sorry for the confusion.
ASKER
oh np i was glad to get it workin!!!
X is the runlevel. The link is normally named something like S94smb or K06smb where S means start, K means kill and the number is just for ordering the scripts.
If you have these links and it doesn't work have a look at the skript /etc/init.d/smb . there is probably a check for a variable which is set in a config file.
On SuSE Linux this is START_SMB in /etc/rc.config