View Single Post
Old 10-10-2000, 09:14 AM   #2
Statica
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Where are you calling the script from?
Make the file /etc/rc.d/startsmb with the same contents as you have.
Then call it from within /etc/rc.d/rc.local

What I'd do is make the file startsmb in /etc/rc.d/startsmb without the #!/sbin/sh [it isnt needed]

edit /etc/rc.d/rc.local
and add bash /etc/rc.d/startsmb to the end.

PS: why not use your favourite runlevel editor to start samba?
Statica is offline   Reply With Quote