Thanks!
I corret it a lkittle different way:
roiw 236:
    # Add extra mount options, if any.
    z_opts=$(get_cmdline_param z_opts)
    [ -n "$z_opts" ] && z_opts=${z_opts#*=} \
        && mount_opts="$mount_opts,$z_opts"

I also have a new linux tftp boot image with corrected script, and it is
working to put z_opts=ip=xxx.xxx.xxx.xxx for mount.cifs and use map name
\\ntinstall\install. I do not know where to put it, it's about 24 MBytes.


> Torsdag 25 september 2008 15:57, skrev tovis:
>> 2. how to correct "master" script to cut out "z_opts=" part?
>
> Seems like it is a bug in the master script..
>
> ---from line 236 ----
>     # Add extra mount options, if any.
>     z_opts=$(get_cmdline_param z_opts)
>     [ -n "$z_opts" ] \
>         && mount_opts="$mount_opts,$z_opts"
> -----
>
> I think this will cure it:
> ------
>     # Add extra mount options, if any.
>     z_opts=$(get_cmdline_param z_opts)
>     z_opts=${z_opts#*=}
>     [ -n "$z_opts" ] \
>         && mount_opts="$mount_opts,$z_opts"
> ----
>
>
>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to