[FS#1521] Option persist in /etc/config/network is not working.

LEDE Bugs lede-bugs at lists.infradead.org
Fri Apr 27 06:38:46 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - zxf8692 (zxf8692) 

Attached to Project - OpenWrt/LEDE Project
Summary - Option persist in /etc/config/network is not working.
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - eg /etc/config/network:
config interface 'wan'
        option _orig_ifname 'eth4'
        option _orig_bridge 'false'
        option ifname 'eth1'
        option proto 'pppoe'
        option username 'XXX'
        option password 'XXX'
        option ipv6 'auto'
        **option persist '1'**
        option holdoff '10'
        option mtu '1500'
        option keepalive '3600 100'

After debug, I considered that line 105 in ppp.sh should be "[ ${persist} -lt 1 ] && ...", the quota for ${persist} is incorrect.
   

 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1521



More information about the lede-bugs mailing list