Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dave Liquorice on June 29, 2003, 03:56:18 PM

Title: Argh, lost 10hisax...
Post by: Dave Liquorice on June 29, 2003, 03:56:18 PM
Argh, silly boy. Used  "RenMov" instead of "Copy" on  /etc/e-smith/templates/etc/modules.conf/10hisax when trying to fix the ISDN fails to load bug. Of course I  then deleted my copy in the templates-custom directory when my fix didn't work.

Can some post the contents of /etc/e-smith/templates/etc/modules.conf/10hisax (from v5.6u4) so I can re-enstate it on my machine. Thanks.



Cheers
Dave.
Title: Re: Argh, lost 10hisax...
Post by: JeffC on June 29, 2003, 06:11:28 PM
Dave,

Here ya go.....

{
    @lines = grep { !/^\s*options\s*hisax/ } @lines;
    my $hisax_alias = "alias char-major-43 hisax";
    unless (exists $lines{$hisax_alias})
    {
        push @lines, $hisax_alias;
    }
    my $hisax = db_get_prop($confref, 'isdn', 'HisaxOptions') || "";
    my $type = db_get_prop($confref, 'isdn', 'Type') || "";
    my $protocol = db_get_prop($confref, 'isdn', 'Protocol') || "";
    if ($type)
    {
        $hisax .= " type=$type";
    }
    if ($protocol)
    {
        $hisax .= " protocol=$protocol";
    }
    if ($hisax)
    {
        push @lines, "options hisax $hisax";
    }
    "";
}


HTH

-jeff
Title: Re: Argh, lost 10hisax...
Post by: Dave Liquorice on June 29, 2003, 09:21:38 PM
Eye thank yew.