|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
starting smbd at boot
Can anyone please tell me how to start the samba service at boot time? I added this script to /etc/rc.conf.local and rebooted but it did not work
Code:
if [-x /use/local/libexec/smbd ]; then echo -n 'samba' /use/local/libexec/smbd /etc/samba/smb.conf fi Thanks in advance |
|
|||
Quote:
|
|
|||
Please excuse my noobness but I am doing something wrong. I noticed from the FAQ that there is a file called /etc/rc.d/samba that is to go in /etc/rc.conf at the bottom line as pkg_scripts=samba
I can see the script starting at boot and I see it with top (smbd) but when I access the share it tells me that it cannot be found. If I start the service and specify the /etc/samba/smb.conf then of works fine. What exactly am I doing wrong here? Edit : I restarted windows and it started working! Last edited by EverydayDiesel; 4th June 2015 at 10:34 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vsftpd not starting | map7 | FreeBSD Ports and Packages | 1 | 10th June 2010 09:51 AM |
Named not starting on NetBSD boot | Antimidget | NetBSD General | 2 | 27th August 2009 10:57 PM |
Daemon Process not starting on boot | map7 | FreeBSD General | 4 | 11th September 2008 04:24 PM |
Samba NOT STARTING | pcfxer | FreeBSD General | 11 | 13th May 2008 09:29 AM |