Modify

Opened 10 years ago

Closed 10 years ago

#2360 closed defect (wontfix)

missing ] in a S05nvram - whiterussian 0.9

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

there should be closing bracket after [ -z "$(nvram get lan_ifnames_t)"
without this bracket my vlan config was overwriten
tested on http://downloads.openwrt.org/whiterussian/0.9/micro/openwrt-brcm-2.4-squashfs.trx with asus wl-500g premium

# wl-500g premium
[  "$boardnum"  = "45" \
-a "$boardtype" = "0x042f" ] && {
        debug "### wl-500g premium hacks ###"
        [ -z "$(nvram get lan_ifnames_t)" ] || {
                # hasn't been remapped yet, revert the vlan1 config as well, because
                # it defaults to "0 5u", which we can't use.
                # use lan_ifnames_t as an indicator of whether the config was made
                # by the original firmware.
                nvram unset vlan1ports
                nvram unset lan_ifnames_t
        }

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Luboš Staněk <lubek@…>

It has been already fixed: /ticket/1545.html.
The White Russian branch is dead. Fix it manually, build your own updated image or use the X-Wrt builds.

comment:2 Changed 10 years ago by florian

  • Resolution set to wontfix
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.