Modify

Opened 3 years ago

Closed 3 years ago

#17894 closed defect (invalid)

syslog: /usr/lib/qos/generate.sh: line 1: arithmetic syntax error

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: qos-scripts Cc:

Description

After just updating to the latest CC trunk r42602, I noticed this strange error in the log:

root@OpenWrt:~# logread |fgrep err
Wed Sep 17 22:03:18 2014 user.emerg syslog: /usr/lib/qos/generate.sh: line 1: arithmetic syntax error
Wed Sep 17 22:03:18 2014 user.notice dnsmasq: found already running DHCP-server on interface 'eth0' refusing to start, use 'option force 1' to override
Wed Sep 17 22:03:20 2014 user.emerg syslog: /usr/lib/qos/generate.sh: line 1: arithmetic syntax error

Invoking it from cli:

root@OpenWrt:~# /usr/lib/qos/generate.sh all > /dev/null
/usr/lib/qos/generate.sh: line 1: arithmetic syntax error
root@OpenWrt:~#

My qos-scripts seems to be intact (compared md5sum with another installation):

root@OpenWrt:~# md5sum /usr/lib/qos/generate.sh
bf286dba30d7925a46d1c7d8caaefffa /usr/lib/qos/generate.sh

root@OpenWrt:~# md5sum /usr/lib/qos/tcrules.awk
cf87d0c588ad40b452d8e824d8a09918 /usr/lib/qos/tcrules.awk

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by anonymous

Please close this ticket.

Apparently I made a small typo (while editing with vi, I changed one instance of target to targeta) in the /etc/config/qos file. I was thrown off by the error description.

comment:2 Changed 3 years ago by swalker

  • Resolution set to invalid
  • 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.