Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#508 closed defect (duplicate)

error in /etc/init.d/S50dnsmasq (?)

Reported by: palpatine Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: base system Version:
Keywords: dns start script Cc:

Description

hi !

I'm a new user and I think it's great work you've done :). I use openwrt-brcm-2.4-jffs2-4MB.trx on a wl500g, and the dns didn't work untill I looked at /etc/init.d/S50dnsmasq, which told me there was an error at line 27. Actually, it seems that the line "start=$((network+{start:-100}))" and also "num=$((start+{num:-150}))" have no really sense, because it is not arithmetics but conditional replacement that is wished (or so I think). So I have replaced the "$(( ))" by "${ }" and it all works now :)

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by mbm

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

duplicate #477

comment:2 Changed 12 years ago by mbm

  • Milestone set to 1.0-rc6

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.