> Michael Doerner wrote:
> If the description starts with the string
> "SH_" (~ share), the share name will point straight to the "files"
> subdirectory.
> Therefore, I added the following code to my customised
> "90ibays" template:
>
> ... cut ...
> $result .= "[$key]\n";
> $result .= " comment = $properties{'Name'}\n";
> # added modification (MDO)
> if (substr($properties{'Name'},0,3) eq 'SH_')
> {
> $result .= " path =
> /home/e-smith/files/ibays/$key/files\n";
> }
> else
> {
> $result .= " path = /home/e-smith/files/ibays/$key\n";
> }
> # end modification
> $result .= " read only = no\n";
> $result .= " writable = yes\n";
> ... cut ...
>
> Just another approach.
>
Yes, quite a slick approach as this creates only one visable share, as
appropriately defined via the description, which would be less confusing to
'browsing' Windows users. Great update Michael!
Thanks,
Darrell