Date: Tue, 22 Oct 2002 21:16:10 -0500 From: "Help Desk" <daleco@daleco.biz> To: <unixnoob@charter.net>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Shlight help plz Message-ID: <083101c27a3a$2840c360$fa00a8c0@DaleCoportable> References: <001401c27a2f$21d78820$0a00a8c0@papabear>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "RD" <unixnoob@charter.net>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, October 22, 2002 7:57 PM
Subject: Shlight help plz
> Hi guys,
>
> I'm having some trouble here. I'm sorda a noob to unix, so plz
bare
> with me J
>
> I've searched all the shlight list archives
>
> I found the startup shel script
>
> #!/bin/sh
>
> case "$1" in
>
> 'start')
>
> /usr/local/sbin/shlight //papabear/myftp /usr/FTP -w -P
> ou812ou812
>
> ;;
>
>
> 'stop')
>
> # Trivial (you may be able to produce something less
>
> # hamfisted than this) stop script:
>
> /usr/bin/killall shlight
>
> ;;
>
>
>
> *)
>
> echo "Usage: $0 { start | stop }"
>
> exit 1
>
> ;;
>
> esac
>
> exit 0
Which I assume is located as follows: /usr/local/sbin/slight ??
>
> I'm getting an error ( local package initialization : Samba/etc/rc:
> /usr/local/etc/rc.d/shlight.sh: not found ?
>
So, the Samba startup script can't find the shlight startup
script because it's looking for /usr/local/etc/rc.d/shlight.sh
> Is this because samba needs 30 seconds or so to settle maybe?
>
> I can't access my smb shares from w32 for a few seconds after login
> prompt.
>
> I can login and run the shlight command and it mounts ok without
error,
> so I'm wondering if
>
> I need to make the shlight startup sleep or something for a certain
> amount of time maybe ?
>
>
Methinks in light of the notes above, you have 3-4 options:
1. Reinstall shlight with a different installdir. (Ouch!)
2. cp /usr/local/bin/shlight to /usr/local/etc/rc.d/
(or whatever that said up there...)
3. #cd /usr/local/etc/rc.d/
# ln -s /usr/bin/slight ./slight
4. Change the Samba rc script to use the
correct path.
Your guess is good as mine as to which is better.
What you've found, I guess, is that some folks
run more like to Linux/GNU than BSD/tradish
when writing makefiles. It's something that keeps
life interesting :-)
> Tx in advance
>
> RD
>
HTH,
Kevin Kinsey
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?083101c27a3a$2840c360$fa00a8c0>
