Operating System - HP-UX
1833780 Members
2748 Online
110063 Solutions
New Discussion

What file to start up smbd upon reboot?

 
SOLVED
Go to solution
Gregory Locke
Frequent Advisor

What file to start up smbd upon reboot?

Hi all:
I have an Itanium rx6600. I want smbd to start up automatically upon reboot. Which file should I edit to include it?

Thanks
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: What file to start up smbd upon reboot?

Shalom,

/etc/rc.config.d/samba

Set the first variable to 1.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: What file to start up smbd upon reboot?

Hi Gregory:

You can generally find the answer to questions like this quickly once you understand the startup/shutdown model.

The manpages for 'rc(1M)' give a very good overview.

The name given to the files in the associated directories '/etc/rc.config.d', '/sbin/init.d' and '/sbin/rc?.d' are usually enough to enable you to track something down:

# ls -l /sbin/rc?.d /sbin/init.d /etc/rc.config.d|grep samba

-rwxr-xr-x 1 root sys 1109 Mar 23 2006 samba
-r-xr-xr-x 1 bin bin 2035 Mar 23 2006 samba
lrwxr-xr-x 1 root sys 18 Apr 17 11:57 K100samba -> /sbin/ini
t.d/samba
lrwxr-xr-x 1 root sys 18 Apr 17 11:57 S900samba -> /sbin/ini
t.d/samba

Regards!

...JRF...
Gregory Locke
Frequent Advisor

Re: What file to start up smbd upon reboot?

Thanks Steven and James.