[Samba] how can I run samba in Startup?

2005-02-06 Thread rmgsantos
Hi,

How can I put Samba to start in the FC3 boot?

Thanks
Rui


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] how can I run samba in Startup?

2005-02-06 Thread Jeff
[EMAIL PROTECTED] wrote:
How can I put Samba to start in the FC3 boot?
You'll need to determine which runlevel you're you boot into, which can be seen 
in /etc/inittab in a line that looks like `id:3:initdefault:`.  The 3 means the 
system boots into runlevel 3.  So in /etc/rc3.d create the symbolic links to 
your smb script that you used to start samba

ln -s /path/to/smb K01samba
ln -s /path/to/smb S98samba
the K is for the shutdown
the S is for the startup
The numbers after are the order in they are executed.
An ls -l in the rc3.d directory will show already installed scripts looking like
S90crond - ../init.d/crond
HTH
Jeff
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] how can I run samba in Startup?

2005-02-06 Thread Craig White
On Sun, 2005-02-06 at 09:16 -0500, Jeff wrote:
 [EMAIL PROTECTED] wrote:
 
  How can I put Samba to start in the FC3 boot?
 
 You'll need to determine which runlevel you're you boot into, which can be 
 seen 
 in /etc/inittab in a line that looks like `id:3:initdefault:`.  The 3 means 
 the 
 system boots into runlevel 3.  So in /etc/rc3.d create the symbolic links to 
 your smb script that you used to start samba
 
 ln -s /path/to/smb K01samba
 ln -s /path/to/smb S98samba
 
 the K is for the shutdown
 the S is for the startup
 The numbers after are the order in they are executed.
 
 An ls -l in the rc3.d directory will show already installed scripts looking 
 like
 S90crond - ../init.d/crond

all redhat systems employ chkconfig to handle this. It's simple and much
more understandable for users. The above might be effective for
Slackware or other BSD type systems.

chkconfig smb on #turns samba on at boot in runlevels 2,3,4  5

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba