Click to See Complete Forum and Search --> : script starting


TechGuy
01-19-2001, 07:22 PM
I know this sounds like a stupid question... I wrote a script to start up samba. I don't know how to start the script!

demian
01-19-2001, 08:34 PM
Heh, I never used Samba but how do you feel about linking the script in one of the /etc/rcX.d directories??

Just a guess...

TechGuy
01-19-2001, 10:12 PM
I ran this to make the script execuatbale:

chmod +x startsmb

then i ran this:

sh startsmb

It says "cannot execute binaries"

what's up?

7
01-19-2001, 10:16 PM
Try,

./startsmb

TechGuy
01-19-2001, 10:23 PM
It worked! Thanks!